home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sound Blastoff
/
Sound Blastoff.iso
/
Sound Utilities
/
QuickChords™ 0.5b ƒ
/
QuickChords™ 0.5b
/
QuickChords™ 0.5b.rsrc
/
bin.rsrc_CODE_5.txt
< prev
next >
Wrap
Text File
|
1994-07-11
|
780KB
|
14,384 lines
# near model CODE resource
# jump table entries: 176-222 (47 of them)
export_22:
00000000 4E71 nop
00000002 4EFA 0288 jmp [PC + 0x288 /* 0000028C */]
export_23:
00000006 4EBA 2326 jsr [PC + 0x2326 /* 0000232E */]
0000000A 4EFA 157A jmp [PC + 0x157A /* 00001586 */]
0000000E 4EFA 0064 jmp [PC + 0x64 /* 00000074 */]
00000012 4EFA 004C jmp [PC + 0x4C /* 00000060 */]
00000016 4EFA 01EA jmp [PC + 0x1EA /* 00000202 */]
0000001A 4EED 10AA jmp [A5 + 0x10AA /* export_529 */]
0000001E 4EED 14E2 jmp [A5 + 0x14E2 /* export_664 */]
00000022 4EFA 0048 jmp [PC + 0x48 /* 0000006C */]
00000026 4EFA 5EFA jmp [PC + 0x5EFA /* 00005F22 */]
0000002A 4EFA 5F90 jmp [PC + 0x5F90 /* 00005FBC */]
0000002E 4EFA 5FB2 jmp [PC + 0x5FB2 /* 00005FE2 */]
00000032 4EFA 5FF4 jmp [PC + 0x5FF4 /* 00006028 */]
00000036 4EFA 5BBC jmp [PC + 0x5BBC /* 00005BF4 */]
0000003A 4EFA 5B46 jmp [PC + 0x5B46 /* 00005B82 */]
0000003E 4EFA 5D44 jmp [PC + 0x5D44 /* 00005D84 */]
00000042 4EFA 5C32 jmp [PC + 0x5C32 /* 00005C76 */]
00000046 4EFA 628A jmp [PC + 0x628A /* 000062D2 */]
0000004A 4EFA 6290 jmp [PC + 0x6290 /* 000062DC */]
0000004E 4EFA 12CA jmp [PC + 0x12CA /* 0000131A */]
00000052 4EFA 607C jmp [PC + 0x607C /* 000060D0 */]
00000056 4EFA 0002 jmp [PC + 0x2 /* 0000005A */]
label0000005A:
0000005A 41ED FDA2 lea.l A0, [A5 - 0x25E]
0000005E 4E75 rts
label00000060:
00000060 611E bsr +0x20 /* 00000080 */
00000062 4EAD 1072 jsr [A5 + 0x1072 /* export_522 */]
00000066 41ED FA7E lea.l A0, [A5 - 0x582]
0000006A 4E75 rts
label0000006C:
0000006C 6112 bsr +0x14 /* 00000080 */
0000006E 4EAD 1192 jsr [A5 + 0x1192 /* export_558 */]
00000072 6006 bra +0x8 /* 0000007A */
label00000074:
00000074 610A bsr +0xC /* 00000080 */
00000076 4EAD 1172 jsr [A5 + 0x1172 /* export_554 */]
label0000007A:
0000007A 43ED FDFC lea.l A1, [A5 - 0x204]
0000007E 4E75 rts
fn00000080:
00000080 48E7 8040 movem.l -[A7], D0,A1
00000084 206D F78A movea.l A0, [A5 - 0x876]
00000088 A029 syscall HLock
0000008A 2B50 F7B4 move.l [A5 - 0x84C], [A0]
0000008E 4EAD 110A jsr [A5 + 0x110A /* export_541 */]
00000092 4CDF 0201 movem.l D0,A1, [A7]+
00000096 4E75 rts
fn00000098:
00000098 42A7 clr.l -[A7]
0000009A 3F3C 007F move.w -[A7], 0x7F
0000009E A949 syscall GetMenuHandle
000000A0 4A9F tst.l [A7]+
000000A2 6612 bne +0x14 /* 000000B6 */
000000A4 3F3C 00FF move.w -[A7], 0xFF
000000A8 A936 syscall DeleteMenu
000000AA 202D F688 move.l D0, [A5 - 0x978]
000000AE 6704 beq +0x6 /* 000000B4 */
000000B0 2F00 move.l -[A7], D0
000000B2 A932 syscall DisposeMenu
label000000B4:
000000B4 4E75 rts
label000000B6:
000000B6 3F3C 007F move.w -[A7], 0x7F
000000BA A936 syscall DeleteMenu
000000BC 2F2D F688 move.l -[A7], [A5 - 0x978]
000000C0 A9A3 syscall ReleaseResource
000000C2 4E75 rts
000000C4 50ED F5A1 st [A5 - 0xA5F]
000000C8 61CE bsr -0x30 /* 00000098 */
000000CA 4EBA 0056 jsr [PC + 0x56 /* 00000122 */]
000000CE 672A beq +0x2C /* 000000FA */
000000D0 2F2D F688 move.l -[A7], [A5 - 0x978]
000000D4 486D F87E pea.l [A5 - 0x782]
000000D8 A933 syscall AppendMenu
000000DA 426D F87E clr.w [A5 - 0x782]
000000DE 2F2D F688 move.l -[A7], [A5 - 0x978]
000000E2 487A 5A98 pea.l [PC + 0x5A98 /* 00005B7C, value 0x2282D00, pstring "(-" */]
000000E6 A933 syscall AppendMenu
000000E8 4EBA 002A jsr [PC + 0x2A /* 00000114 */]
000000EC 2F2D F688 move.l -[A7], [A5 - 0x978]
000000F0 4243 clr.w D3
000000F2 4EBA 3E58 jsr [PC + 0x3E58 /* 00003F4C */]
000000F6 3F03 move.w -[A7], D3
000000F8 A935 syscall InsertMenu
label000000FA:
000000FA 4E75 rts
000000FC 4EBA 0286 jsr [PC + 0x286 /* 00000384 */]
00000100 202D F688 move.l D0, [A5 - 0x978]
00000104 6706 beq +0x8 /* 0000010C */
00000106 2F00 move.l -[A7], D0
00000108 4267 clr.w -[A7]
0000010A A935 syscall InsertMenu
label0000010C:
0000010C A937 syscall DrawMenuBar
0000010E 4E75 rts
fn00000110:
00000110 6110 bsr +0x12 /* 00000122 */
00000112 670C beq +0xE /* 00000120 */
fn00000114:
00000114 2F2D F688 move.l -[A7], [A5 - 0x978]
00000118 2F3C 4452 5652 move.l -[A7], 0x44525652 /* 'DRVR' */
0000011E A94D syscall AppendResMenu/AddResMenu
label00000120:
00000120 4E75 rts
fn00000122:
00000122 42A7 clr.l -[A7]
00000124 3F3C 007F move.w -[A7], 0x7F
00000128 A9C0 syscall GetNewMBar
0000012A 4A97 tst.l [A7]
0000012C 6712 beq +0x14 /* 00000140 */
0000012E 3B7C 0002 F6A8 move.w [A5 - 0x958], 0x2
00000134 A93C syscall SetMenuBar
00000136 42A7 clr.l -[A7]
00000138 3F3C 007F move.w -[A7], 0x7F
0000013C A949 syscall GetMenuHandle
0000013E 6014 bra +0x16 /* 00000154 */
label00000140:
00000140 3F3C 007F move.w -[A7], 0x7F
00000144 A9BF syscall GetRMenu
00000146 4A97 tst.l [A7]
00000148 660A bne +0xC /* 00000154 */
0000014A 3F3C 00FF move.w -[A7], 0xFF
0000014E 487A 143A pea.l [PC + 0x143A /* 0000158A, value 0x114023F */]
00000152 A931 syscall NewMenu
label00000154:
00000154 2B5F F688 move.l [A5 - 0x978], [A7]+
00000158 4E75 rts
0000015A 486D 125A pea.l [A5 + 0x125A /* export_583 */]
0000015E A9F1 syscall UnloadSeg
00000160 486D 1322 pea.l [A5 + 0x1322 /* export_608 */]
00000164 A9F1 syscall UnloadSeg
00000166 486D 10AA pea.l [A5 + 0x10AA /* export_529 */]
0000016A A9F1 syscall UnloadSeg
0000016C 486D 1532 pea.l [A5 + 0x1532 /* export_674 */]
00000170 A9F1 syscall UnloadSeg
00000172 486D 1312 pea.l [A5 + 0x1312 /* export_606 */]
00000176 A9F1 syscall UnloadSeg
00000178 486D 154A pea.l [A5 + 0x154A /* export_677 */]
0000017C A9F1 syscall UnloadSeg
0000017E 486D 13F2 pea.l [A5 + 0x13F2 /* export_634 */]
00000182 A9F1 syscall UnloadSeg
00000184 50ED F73A st [A5 - 0x8C6]
00000188 426D F65A clr.w [A5 - 0x9A6]
0000018C 6132 bsr +0x34 /* 000001C0 */
0000018E 2F2D F774 move.l -[A7], [A5 - 0x88C]
00000192 A915 syscall ShowWindow
00000194 4EED 10AA jmp [A5 + 0x10AA /* export_529 */]
fn00000198:
00000198 426D F5F0 clr.w [A5 - 0xA10]
0000019C 42AD F712 clr.l [A5 - 0x8EE]
000001A0 42AD F716 clr.l [A5 - 0x8EA]
000001A4 41ED F5B6 lea.l A0, [A5 - 0xA4A]
000001A8 7009 moveq.l D0, 0x09
label000001AA:
000001AA 4298 clr.l [A0]+
000001AC 51C8 FFFC dbf D0, -0x6 /* 000001AA */
000001B0 4E75 rts
000001B2 2E6D F4D0 movea.l A7, [A5 - 0xB30]
000001B6 4EBA 006E jsr [PC + 0x6E /* 00000226 */]
000001BA 2F2D F774 move.l -[A7], [A5 - 0x88C]
000001BE A915 syscall ShowWindow
fn000001C0:
000001C0 61D6 bsr -0x28 /* 00000198 */
000001C2 4EBA 00C8 jsr [PC + 0xC8 /* 0000028C */]
000001C6 487A 003A pea.l [PC + 0x3A /* 00000202, value 0x41EDF5D6 */]
000001CA 2B4F F4D0 move.l [A5 - 0xB30], A7
000001CE 7007 moveq.l D0, 0x07
000001D0 7200 moveq.l D1, 0x00
000001D2 4EBA 26CA jsr [PC + 0x26CA /* 0000289E */]
000001D6 4A2D F739 tst.b [A5 - 0x8C7]
000001DA 6716 beq +0x18 /* 000001F2 */
000001DC 598F subq.l A7, 4
000001DE 2F3C 434F 4445 move.l -[A7], 0x434F4445 /* 'CODE' */
000001E4 3F3C 0080 move.w -[A7], 0x80
000001E8 A9A0 syscall GetResource
000001EA 205F movea.l A0, [A7]+
000001EC 2050 movea.l A0, [A0]
000001EE 4EE8 0004 jmp [A0 + 0x4]
label000001F2:
000001F2 206D F74C movea.l A0, [A5 - 0x8B4]
000001F6 2050 movea.l A0, [A0]
000001F8 4ED0 jmp [A0]
000001FA 4E75 rts
000001FC 8002 or.b D0, D2
000001FE 5858 addq.w [A0]+, 4
00000200 0000 41ED ori.b D0, 0xED
// begin alternate branch 00000202-00000206
export_64:
label00000202:
00000202 41ED F5D6 lea.l A0, [A5 - 0xA2A]
// end alternate branch 00000202-00000206
export_64: // at 00000202 (misaligned)
label00000202: // (misaligned)
00000204 F5D6 .extension 0x5D6 // unimplemented
00000206 4A90 tst.l [A0]
00000208 6706 beq +0x8 /* 00000210 */
0000020A 2250 movea.l A1, [A0]
0000020C 4290 clr.l [A0]
0000020E 4E91 jsr [A1]
label00000210:
00000210 6186 bsr -0x78 /* 00000198 */
00000212 6112 bsr +0x14 /* 00000226 */
00000214 2E6D F4D0 movea.l A7, [A5 - 0xB30]
00000218 4EFA 0152 jmp [PC + 0x152 /* 0000036C */]
0000021C 4E75 rts
0000021E 8004 or.b D0, D4
00000220 5A44 addq.w D4, 5
00000222 5356 subq.w [A6], 1
00000224 0000 222D ori.b D0, 0x2D /* '-' */
// begin alternate branch 00000226-0000022A
fn00000226:
00000226 222D F730 move.l D1, [A5 - 0x8D0]
// end alternate branch 00000226-0000022A
fn00000226: // (misaligned)
00000228 F730 .extension 0x730 // unimplemented
0000022A 6706 beq +0x8 /* 00000232 */
0000022C 2241 movea.l A1, D1
0000022E 74FE moveq.l D2, 0xFFFFFFFE
00000230 4E91 jsr [A1]
label00000232:
00000232 4EBA 010E jsr [PC + 0x10E /* 00000342 */]
00000236 4EBA 134E jsr [PC + 0x134E /* 00001586 */]
0000023A 70FF moveq.l D0, 0xFFFFFFFF
0000023C 4EBA 6E7E jsr [PC + 0x6E7E /* 000070BC */]
00000240 4EBA 20EC jsr [PC + 0x20EC /* 0000232E */]
00000244 6100 FE52 bsr -0x1AC /* 00000098 */
00000248 4EBA 013A jsr [PC + 0x13A /* 00000384 */]
0000024C 4EBA 016C jsr [PC + 0x16C /* 000003BA */]
00000250 4EBA 5032 jsr [PC + 0x5032 /* 00005284 */]
00000254 2F2D F774 move.l -[A7], [A5 - 0x88C]
00000258 A956 syscall KillControls
0000025A 206D F5AE movea.l A0, [A5 - 0xA52]
0000025E A01F syscall DisposPtr/DisposePtr
00000260 422D F64A clr.b [A5 - 0x9B6]
00000264 4AAD FC82 tst.l [A5 - 0x37E]
00000268 6718 beq +0x1A /* 00000282 */
0000026A 206D FC82 movea.l A0, [A5 - 0x37E]
0000026E A01F syscall DisposPtr/DisposePtr
00000270 42AD FC82 clr.l [A5 - 0x37E]
00000274 082D 0001 FC8E btst.b [A5 - 0x372], 0x1
0000027A 6706 beq +0x8 /* 00000282 */
0000027C 41ED FC92 lea.l A0, [A5 - 0x36E]
00000280 A006 syscall KillIO
label00000282:
00000282 203C 0000 FFFF move.l D0, 0xFFFF
00000288 A032 syscall FlushEvents
0000028A 4E75 rts
fn0000028C:
0000028C 31FC FFFF 0A9A move.w [0x00000A9A /* ACount */], 0xFFFF
00000292 42AD FC82 clr.l [A5 - 0x37E]
00000296 426D FC8E clr.w [A5 - 0x372]
0000029A 422D F4B4 clr.b [A5 - 0xB4C]
0000029E 422D F539 clr.b [A5 - 0xAC7]
000002A2 50ED F63A st [A5 - 0x9C6]
000002A6 50ED F73A st [A5 - 0x8C6]
000002AA 50ED FD89 st [A5 - 0x277]
000002AE 487A 00B6 pea.l [PC + 0xB6 /* 00000366, value 0x303C0082 */]
000002B2 7205 moveq.l D1, 0x05
000002B4 4EBA 1276 jsr [PC + 0x1276 /* 0000152C */]
000002B8 486D FA7E pea.l [A5 - 0x582]
000002BC 2B5F FCFA move.l [A5 - 0x306], [A7]+
000002C0 4EAD 00CA jsr [A5 + 0xCA /* export_21 */]
000002C4 486D 00CA pea.l [A5 + 0xCA /* export_21 */]
000002C8 A9F1 syscall UnloadSeg
000002CA 203C 0000 0400 move.l D0, 0x400
000002D0 A31E syscall NewPtrClear, flags=3
000002D2 6600 0052 bne +0x54 /* 00000326 */
000002D6 2B48 F748 move.l [A5 - 0x8B8], A0
000002DA 20AD F774 move.l [A0], [A5 - 0x88C]
000002DE 4EBA 0176 jsr [PC + 0x176 /* 00000456 */]
000002E2 2B6D FD1A FCFE move.l [A5 - 0x302], [A5 - 0x2E6]
000002E8 487A 2D64 pea.l [PC + 0x2D64 /* 0000304E, value 0x2040223C ' @\"<' */]
000002EC 2B5F F4CC move.l [A5 - 0xB34], [A7]+
000002F0 6100 FE1E bsr -0x1E0 /* 00000110 */
000002F4 2F2D F688 move.l -[A7], [A5 - 0x978]
000002F8 4267 clr.w -[A7]
000002FA A935 syscall InsertMenu
000002FC A937 syscall DrawMenuBar
label000002FE:
000002FE 202D FD06 move.l D0, [A5 - 0x2FA]
00000302 6130 bsr +0x32 /* 00000334 */
00000304 6620 bne +0x22 /* 00000326 */
00000306 2B40 F750 move.l [A5 - 0x8B0], D0
0000030A 2B40 F754 move.l [A5 - 0x8AC], D0
0000030E 2B48 F75C move.l [A5 - 0x8A4], A0
00000312 202D FD0A move.l D0, [A5 - 0x2F6]
00000316 6110 bsr +0x12 /* 00000328 */
00000318 6636 bne +0x38 /* 00000350 */
0000031A 2C40 movea.l A6, D0
0000031C 2B40 F758 move.l [A5 - 0x8A8], D0
00000320 2B48 F760 move.l [A5 - 0x8A0], A0
00000324 588F addq.l A7, 4
label00000326:
00000326 4E75 rts
fn00000328:
00000328 6716 beq +0x18 /* 00000340 */
0000032A 6108 bsr +0xA /* 00000334 */
0000032C 0680 0000 8000 addi.l D0, 0x8000
00000332 600A bra +0xC /* 0000033E */
fn00000334:
00000334 670A beq +0xC /* 00000340 */
00000336 A322 syscall NewHandleClear, flags=3
00000338 6606 bne +0x8 /* 00000340 */
0000033A A029 syscall HLock
0000033C 2010 move.l D0, [A0]
label0000033E:
0000033E B040 cmp.w D0, D0
label00000340:
00000340 4E75 rts
fn00000342:
00000342 202D F758 move.l D0, [A5 - 0x8A8]
00000346 206D F760 movea.l A0, [A5 - 0x8A0]
0000034A 6114 bsr +0x16 /* 00000360 */
0000034C 42AD F758 clr.l [A5 - 0x8A8]
label00000350:
00000350 202D F750 move.l D0, [A5 - 0x8B0]
00000354 206D F75C movea.l A0, [A5 - 0x8A4]
00000358 6106 bsr +0x8 /* 00000360 */
0000035A 42AD F754 clr.l [A5 - 0x8AC]
0000035E 4E75 rts
fn00000360:
00000360 6702 beq +0x4 /* 00000364 */
00000362 A023 syscall DisposHandle/DisposeHandle
label00000364:
00000364 4E75 rts
00000366 303C 0082 move.w D0, 0x82
0000036A 610C bsr +0xE /* 00000378 */
label0000036C:
0000036C 4A2D F739 tst.b [A5 - 0x8C7]
00000370 6604 bne +0x6 /* 00000376 */
00000372 4EED 112A jmp [A5 + 0x112A /* export_545 */]
label00000376:
00000376 A9F4 syscall ExitToShell
fn00000378:
00000378 558F subq.l A7, 2
0000037A 3F00 move.w -[A7], D0
0000037C 42A7 clr.l -[A7]
0000037E A986 syscall StopAlert
00000380 548F addq.l A7, 2
00000382 4E75 rts
fn00000384:
00000384 7600 moveq.l D3, 0x00
label00000386:
00000386 4EBA 3BC4 jsr [PC + 0x3BC4 /* 00003F4C */]
0000038A 671C beq +0x1E /* 000003A8 */
0000038C 2F00 move.l -[A7], D0
0000038E 3F03 move.w -[A7], D3
00000390 A936 syscall DeleteMenu
00000392 42A7 clr.l -[A7]
00000394 2F3C 4D45 4E55 move.l -[A7], 0x4D454E55 /* 'MENU' */
0000039A 3F03 move.w -[A7], D3
0000039C A9A0 syscall GetResource
0000039E 4A9F tst.l [A7]+
000003A0 6704 beq +0x6 /* 000003A6 */
000003A2 A9A3 syscall ReleaseResource
000003A4 6002 bra +0x4 /* 000003A8 */
label000003A6:
000003A6 A932 syscall DisposeMenu
label000003A8:
000003A8 0C43 001F cmpi.w D3, 0x1F
000003AC 65D8 bcs -0x26 /* 00000386 */
000003AE A934 syscall ClearMenuBar
000003B0 426D F6A8 clr.w [A5 - 0x958]
000003B4 42AD F69C clr.l [A5 - 0x964]
000003B8 4E75 rts
fn000003BA:
000003BA 246D F748 movea.l A2, [A5 - 0x8B8]
000003BE 7E3F moveq.l D7, 0x3F
label000003C0:
000003C0 3607 move.w D3, D7
000003C2 E94B lsl D3.w, 4
000003C4 4AB2 3000 tst.l [A2 + D3.w]
000003C8 6730 beq +0x32 /* 000003FA */
000003CA 2F32 3000 move.l -[A7], [A2 + D3.w]
000003CE A914 syscall DisposeWindow
000003D0 2032 300C move.l D0, [A2 + D3.w + 0xC]
000003D4 670C beq +0xE /* 000003E2 */
000003D6 0C80 FFFF FFFF cmpi.l D0, 0xFFFFFFFF
000003DC 6704 beq +0x6 /* 000003E2 */
000003DE 2F00 move.l -[A7], D0
000003E0 A8D9 syscall DisposRgn/DisposeRgn
label000003E2:
000003E2 2F32 3004 move.l -[A7], [A2 + D3.w + 0x4]
label000003E6:
000003E6 221F move.l D1, [A7]+
000003E8 6710 beq +0x12 /* 000003FA */
000003EA 2041 movea.l A0, D1
000003EC 2250 movea.l A1, [A0]
000003EE 2F11 move.l -[A7], [A1]
000003F0 2F29 0008 move.l -[A7], [A1 + 0x8]
000003F4 A023 syscall DisposHandle/DisposeHandle
000003F6 A9CD syscall TEDispose
000003F8 60EC bra -0x12 /* 000003E6 */
label000003FA:
000003FA 5347 subq.w D7, 1
000003FC 66C2 bne -0x3C /* 000003C0 */
000003FE 204A movea.l A0, A2
00000400 A01F syscall DisposPtr/DisposePtr
00000402 42AD F748 clr.l [A5 - 0x8B8]
00000406 4E75 rts
00000408 6100 FF38 bsr -0xC6 /* 00000342 */
0000040C 487A FF58 pea.l [PC - 0xA8 /* 00000366, value 0x303C0082 */]
00000410 70FF moveq.l D0, 0xFFFFFFFF
00000412 4EBA 6CA8 jsr [PC + 0x6CA8 /* 000070BC */]
00000416 6000 FEE6 bra -0x118 /* 000002FE */
0000041A 265F movea.l A3, [A7]+
0000041C 205F movea.l A0, [A7]+
0000041E 226D F754 movea.l A1, [A5 - 0x8AC]
00000422 202D FD06 move.l D0, [A5 - 0x2FA]
00000426 9088 sub.l D0, A0
00000428 E288 lsr D0, 1
0000042A 670A beq +0xC /* 00000436 */
0000042C 43F1 8800 lea.l A1, [A1 + A0]
label00000430:
00000430 4259 clr.w [A1]+
00000432 5380 subq.l D0, 1
00000434 66FA bne -0x4 /* 00000430 */
label00000436:
00000436 204E movea.l A0, A6
00000438 262D FD0A move.l D3, [A5 - 0x2F6]
0000043C 321F move.w D1, [A7]+
0000043E 341F move.w D2, [A7]+
00000440 41F0 1000 lea.l A0, [A0 + D1.w]
00000444 0641 8000 addi.w D1, 0x8000
00000448 9641 sub.w D3, D1
0000044A E24B lsr D3.w, 1
0000044C 6002 bra +0x4 /* 00000450 */
label0000044E:
0000044E 4258 clr.w [A0]+
label00000450:
00000450 51CB FFFC dbf D3, -0x6 /* 0000044E */
00000454 4ED3 jmp [A3]
fn00000456:
00000456 41ED FCD2 lea.l A0, [A5 - 0x32E]
0000045A 43FA 003C lea.l A1, [PC + 0x3C /* 00000498, value 0xA31E6704 */]
0000045E 20C9 move.l [A0]+, A1
00000460 43FA 0042 lea.l A1, [PC + 0x42 /* 000004A4, value 0x2040A01F */]
00000464 20C9 move.l [A0]+, A1
00000466 43FA 0042 lea.l A1, [PC + 0x42 /* 000004AA, value 0x4A806728 */]
0000046A 20C9 move.l [A0]+, A1
0000046C 43FA 006A lea.l A1, [PC + 0x6A /* 000004D8, value 0x2040A029 */]
00000470 20C9 move.l [A0]+, A1
00000472 43FA 7E9A lea.l A1, [PC + 0x7E9A /* 0000830E, value 0x4A406A08 */]
00000476 20C9 move.l [A0]+, A1
00000478 43FA 0066 lea.l A1, [PC + 0x66 /* 000004E0, value 0xA1226704 */]
0000047C 20C9 move.l [A0]+, A1
0000047E 43FA 006C lea.l A1, [PC + 0x6C /* 000004EC, value 0x2040A02A */]
00000482 20C9 move.l [A0]+, A1
00000484 43FA 006E lea.l A1, [PC + 0x6E /* 000004F4, value 0x2040A02A */]
00000488 20C9 move.l [A0]+, A1
0000048A 43FA 14C8 lea.l A1, [PC + 0x14C8 /* 00001954, value 0xA000080 */]
0000048E 20C9 move.l [A0]+, A1
00000490 43FA 14BE lea.l A1, [PC + 0x14BE /* 00001950, value 0x6000040 */]
00000494 20C9 move.l [A0]+, A1
00000496 4E75 rts
00000498 A31E syscall NewPtrClear, flags=3
0000049A 6704 beq +0x6 /* 000004A0 */
0000049C 41F8 0000 lea.l A0, [0x00000000 /* __m68k_reset_stack__ */]
label000004A0:
000004A0 2008 move.l D0, A0
000004A2 4E75 rts
000004A4 2040 movea.l A0, D0
000004A6 A01F syscall DisposPtr/DisposePtr
000004A8 4E75 rts
000004AA 4A80 tst.l D0
000004AC 6728 beq +0x2A /* 000004D6 */
000004AE 6B00 00FA bmi +0xFC /* 000005AA */
000004B2 2800 move.l D4, D0
000004B4 7200 moveq.l D1, 0x00
label000004B6:
000004B6 003C 00FF ori.b ccr, 255
000004BA E391 roxl D1, 1
000004BC E48C lsr D4, 2
000004BE 66F6 bne -0x8 /* 000004B6 */
000004C0 7808 moveq.l D4, 0x08
label000004C2:
000004C2 3401 move.w D2, D1
000004C4 2600 move.l D3, D0
000004C6 86C1 divu.w D3, D1
000004C8 D243 add.w D1, D3
000004CA E249 lsr D1.w, 1
000004CC B242 cmp.w D1, D2
000004CE 57CC FFF2 dbeq D4, -0x10 /* 000004C2 */
000004D2 3001 move.w D0, D1
000004D4 48C0 ext.l D0
label000004D6:
000004D6 4E75 rts
000004D8 2040 movea.l A0, D0
000004DA A029 syscall HLock
000004DC 2010 move.l D0, [A0]
000004DE 4E75 rts
000004E0 A122 syscall NewHandle, flags=1
000004E2 6704 beq +0x6 /* 000004E8 */
000004E4 307C 0000 movea.w A0, 0x0
label000004E8:
000004E8 2008 move.l D0, A0
000004EA 4E75 rts
000004EC 2040 movea.l A0, D0
000004EE A02A syscall HUnlock
000004F0 A023 syscall DisposHandle/DisposeHandle
000004F2 4E75 rts
000004F4 2040 movea.l A0, D0
000004F6 A02A syscall HUnlock
000004F8 4E75 rts
000004FA A122 syscall NewHandle, flags=1
000004FC 6608 bne +0xA /* 00000506 */
000004FE A029 syscall HLock
00000500 2248 movea.l A1, A0
00000502 2050 movea.l A0, [A0]
00000504 7000 moveq.l D0, 0x00
label00000506:
00000506 4E75 rts
fn00000508:
00000508 3F3C 0007 move.w -[A7], 0x7
0000050C 4840 swap.w D0
0000050E 2F00 move.l -[A7], D0
00000510 42A7 clr.l -[A7]
00000512 42A7 clr.l -[A7]
00000514 2F3C A000 0E00 move.l -[A7], 0xA0000E00
0000051A A8FD syscall PrGlue
0000051C 4E75 rts
0000051E 4EBA 1E0E jsr [PC + 0x1E0E /* 0000232E */]
00000522 7001 moveq.l D0, 0x01
00000524 61E2 bsr -0x1C /* 00000508 */
00000526 206D FFFC movea.l A0, [A5 - 0x4]
0000052A 3F3C 0004 move.w -[A7], 0x4
0000052E 4868 0002 pea.l [A0 + 0x2]
00000532 4868 0010 pea.l [A0 + 0x10]
00000536 2F3C 0000 0001 move.l -[A7], 0x1
0000053C 2F3C A000 0E00 move.l -[A7], 0xA0000E00
00000542 A8FD syscall PrGlue
00000544 7002 moveq.l D0, 0x02
00000546 61C0 bsr -0x3E /* 00000508 */
00000548 4E75 rts
fn0000054A:
0000054A 7800 moveq.l D4, 0x00
0000054C 4A80 tst.l D0
0000054E 6A04 bpl +0x6 /* 00000554 */
00000550 4644 not.w D4
00000552 4480 neg.l D0
label00000554:
00000554 4A81 tst.l D1
00000556 6708 beq +0xA /* 00000560 */
00000558 6A04 bpl +0x6 /* 0000055E */
0000055A 4481 neg.l D1
0000055C 4644 not.w D4
label0000055E:
0000055E 4E75 rts
label00000560:
00000560 588F addq.l A7, 4
00000562 7000 moveq.l D0, 0x00
00000564 4E75 rts
fn00000566:
00000566 1438 012F move.b D2, [0x0000012F /* CPUFlag */]
0000056A 5502 subq.b D2, 2
0000056C 6B08 bmi +0xA /* 00000576 */
0000056E 4C01 0800 movem.w A3, D1
00000572 6936 bvs +0x38 /* 000005AA */
00000574 4E75 rts
label00000576:
00000576 61D2 bsr -0x2C /* 0000054A */
00000578 B081 cmp.l D0, D1
0000057A 6502 bcs +0x4 /* 0000057E */
0000057C C340 exg D1, D0
label0000057E:
0000057E 0C80 0001 0000 cmpi.l D0, 0x10000
00000584 6424 bcc +0x26 /* 000005AA */
00000586 0C81 0001 0000 cmpi.l D1, 0x10000
0000058C 640C bcc +0xE /* 0000059A */
0000058E C0C1 mulu.w D0, D1
label00000590:
00000590 4A44 tst.w D4
00000592 6704 beq +0x6 /* 00000598 */
00000594 4480 neg.l D0
00000596 4481 neg.l D1
label00000598:
00000598 4E75 rts
label0000059A:
0000059A 4840 swap.w D0
0000059C 740F moveq.l D2, 0x0F
label0000059E:
0000059E D080 add.l D0, D0
000005A0 6402 bcc +0x4 /* 000005A4 */
000005A2 D081 add.l D0, D1
label000005A4:
000005A4 51CA FFF8 dbf D2, -0xA /* 0000059E */
000005A8 60E6 bra -0x18 /* 00000590 */
label000005AA:
000005AA 242D F5DA move.l D2, [A5 - 0xA26]
000005AE 6706 beq +0x8 /* 000005B6 */
000005B0 2042 movea.l A0, D2
000005B2 7400 moveq.l D2, 0x00
000005B4 4ED0 jmp [A0]
label000005B6:
000005B6 203C 7FFF FFFF move.l D0, 0x7FFFFFFF
000005BC 4A44 tst.w D4
000005BE 6702 beq +0x4 /* 000005C2 */
000005C0 5280 addq.l D0, 1
label000005C2:
000005C2 4E75 rts
export_25:
fn000005C4:
000005C4 4A80 tst.l D0
000005C6 67E2 beq -0x1C /* 000005AA */
000005C8 1438 012F move.b D2, [0x0000012F /* CPUFlag */]
000005CC 5502 subq.b D2, 2
000005CE 6B08 bmi +0xA /* 000005D8 */
000005D0 4C40 1800 movem.l A3,A4, D0
000005D4 C340 exg D1, D0
000005D6 4E75 rts
label000005D8:
000005D8 6100 FF70 bsr -0x8E /* 0000054A */
000005DC 2400 move.l D2, D0
000005DE 2001 move.l D0, D1
000005E0 7200 moveq.l D1, 0x00
000005E2 761F moveq.l D3, 0x1F
label000005E4:
000005E4 D080 add.l D0, D0
000005E6 55CB FFFC dbcs D3, -0x6 /* 000005E4 */
000005EA 6002 bra +0x4 /* 000005EE */
label000005EC:
000005EC D080 add.l D0, D0
label000005EE:
000005EE D381 addx.l D1, D1
000005F0 B282 cmp.l D1, D2
000005F2 6504 bcs +0x6 /* 000005F8 */
000005F4 9282 sub.l D1, D2
000005F6 5240 addq.w D0, 1
label000005F8:
000005F8 51CB FFF2 dbf D3, -0x10 /* 000005EC */
000005FC 6092 bra -0x6C /* 00000590 */
fn000005FE:
000005FE 4A80 tst.l D0
00000600 6A02 bpl +0x4 /* 00000604 */
00000602 4480 neg.l D0
label00000604:
00000604 4E75 rts
00000606 61BC bsr -0x42 /* 000005C4 */
00000608 C141 exg D0, D1
0000060A 4E75 rts
0000060C 4A80 tst.l D0
0000060E 6704 beq +0x6 /* 00000614 */
00000610 6A04 bpl +0x6 /* 00000616 */
00000612 70FF moveq.l D0, 0xFFFFFFFF
label00000614:
00000614 4E75 rts
label00000616:
00000616 7001 moveq.l D0, 0x01
00000618 4E75 rts
0000061A 6126 bsr +0x28 /* 00000642 */
0000061C 7000 moveq.l D0, 0x00
0000061E E949 lsl D1.w, 4
00000620 6402 bcc +0x4 /* 00000624 */
00000622 70FF moveq.l D0, 0xFFFFFFFF
label00000624:
00000624 4E75 rts
fn00000626:
00000626 611A bsr +0x1C /* 00000642 */
00000628 4A40 tst.w D0
0000062A 6714 beq +0x16 /* 00000640 */
0000062C 0281 0000 7FFF andi.l D1, 0x7FFF
00000632 83C0 divs.w D1, D0
00000634 C141 exg D0, D1
00000636 4840 swap.w D0
00000638 0280 0000 FFFF andi.l D0, 0xFFFF
0000063E 5240 addq.w D0, 1
label00000640:
00000640 4E75 rts
fn00000642:
00000642 7200 moveq.l D1, 0x00
00000644 7400 moveq.l D2, 0x00
00000646 322D FD1E move.w D1, [A5 - 0x2E2]
0000064A D241 add.w D1, D1
0000064C 142D FD20 move.b D2, [A5 - 0x2E0]
00000650 E412 roxr D2.b, 2
00000652 6502 bcs +0x4 /* 00000656 */
00000654 5341 subq.w D1, 1
label00000656:
00000656 4602 not.b D2
00000658 E059 ror D1.w, 8
0000065A B302 xor.b D2, D1
0000065C 1B41 FD20 move.b [A5 - 0x2E0], D1
00000660 1202 move.b D1, D2
00000662 3B41 FD1E move.w [A5 - 0x2E2], D1
00000666 4E75 rts
00000668 3038 020E move.w D0, [0x0000020E]
0000066C 3B40 FD1E move.w [A5 - 0x2E2], D0
00000670 422D FD20 clr.b [A5 - 0x2E0]
00000674 4E75 rts
00000676 2410 move.l D2, [A0]
00000678 D480 add.l D2, D0
0000067A 2082 move.l [A0], D2
0000067C 4A80 tst.l D0
0000067E 6B04 bmi +0x6 /* 00000684 */
00000680 B282 cmp.l D1, D2
00000682 4E75 rts
label00000684:
00000684 B481 cmp.l D2, D1
00000686 4E75 rts
00000688 3410 move.w D2, [A0]
0000068A D440 add.w D2, D0
0000068C 3082 move.w [A0], D2
0000068E 4A40 tst.w D0
00000690 6B04 bmi +0x6 /* 00000696 */
00000692 B242 cmp.w D1, D2
00000694 4E75 rts
label00000696:
00000696 B441 cmp.w D2, D1
00000698 4E75 rts
0000069A 6118 bsr +0x1A /* 000006B4 */
0000069C 2010 move.l D0, [A0]
0000069E 4E75 rts
000006A0 6112 bsr +0x14 /* 000006B4 */
000006A2 3010 move.w D0, [A0]
000006A4 48C0 ext.l D0
000006A6 4E75 rts
000006A8 610C bsr +0xE /* 000006B6 */
000006AA 2080 move.l [A0], D0
000006AC 4E75 rts
000006AE 6106 bsr +0x8 /* 000006B6 */
000006B0 3080 move.w [A0], D0
000006B2 4E75 rts
fn000006B4:
000006B4 2200 move.l D1, D0
fn000006B6:
000006B6 2041 movea.l A0, D1
000006B8 0801 0000 btst.b D1, 0x0
000006BC 6602 bne +0x4 /* 000006C0 */
000006BE 4E75 rts
label000006C0:
000006C0 48E7 C080 movem.l -[A7], D0,D1,A0
000006C4 7215 moveq.l D1, 0x15
000006C6 302D FD2C move.w D0, [A5 - 0x2D4]
000006CA 4EBA 01EC jsr [PC + 0x1EC /* 000008B8 */]
000006CE 4CDF 0103 movem.l D0,D1,A0, [A7]+
000006D2 4E75 rts
label000006D4:
000006D4 0240 00FF andi.w D0, 0xFF
000006D8 6718 beq +0x1A /* 000006F2 */
000006DA 2F08 move.l -[A7], A0
000006DC 41ED F87E lea.l A0, [A5 - 0x782]
000006E0 10C0 move.b [A0]+, D0
000006E2 5340 subq.w D0, 1
label000006E4:
000006E4 10FC 0020 move.b [A0]+, 0x20 /* ' ' */
000006E8 51C8 FFFA dbf D0, -0x8 /* 000006E4 */
000006EC 4EBA 0C28 jsr [PC + 0xC28 /* 00001316 */]
000006F0 205F movea.l A0, [A7]+
label000006F2:
000006F2 4E75 rts
export_67:
000006F4 4EBA 1CC2 jsr [PC + 0x1CC2 /* 000023B8 */]
label000006F8:
000006F8 906D FD2E sub.w D0, [A5 - 0x2D2]
000006FC 64FA bcc -0x4 /* 000006F8 */
000006FE 4440 neg.w D0
00000700 3200 move.w D1, D0
00000702 102D F64B move.b D0, [A5 - 0x9B5]
00000706 6714 beq +0x16 /* 0000071C */
00000708 0200 007F andi.b D0, 0x7F
0000070C 6626 bne +0x28 /* 00000734 */
0000070E 48E7 00C0 movem.l -[A7], A0,A1
00000712 41ED F642 lea.l A0, [A5 - 0x9BE]
00000716 43ED F63A lea.l A1, [A5 - 0x9C6]
0000071A 600C bra +0xE /* 00000728 */
label0000071C:
0000071C 48E7 00C0 movem.l -[A7], A0,A1
00000720 41ED F644 lea.l A0, [A5 - 0x9BC]
00000724 43ED F63C lea.l A1, [A5 - 0x9C4]
label00000728:
00000728 3001 move.w D0, D1
0000072A D050 add.w D0, [A0]
0000072C B051 cmp.w D0, [A1]
0000072E 4CDF 0300 movem.l A0,A1, [A7]+
00000732 651A bcs +0x1C /* 0000074E */
label00000734:
00000734 5341 subq.w D1, 1
label00000736:
00000736 4EBA 1CBC jsr [PC + 0x1CBC /* 000023F4 */]
0000073A 4EBA 1C7C jsr [PC + 0x1C7C /* 000023B8 */]
0000073E 57C9 FFF6 dbeq D1, -0xC /* 00000736 */
label00000742:
00000742 4E75 rts
00000744 3200 move.w D1, D0
00000746 4EBA 1C70 jsr [PC + 0x1C70 /* 000023B8 */]
0000074A 9240 sub.w D1, D0
0000074C 63F4 bls -0xA /* 00000742 */
label0000074E:
0000074E 3001 move.w D0, D1
00000750 6082 bra -0x7C /* 000006D4 */
export_68:
00000752 4A40 tst.w D0
00000754 6F2C ble +0x2E /* 00000782 */
00000756 80FC 0011 divu.w D0, 0x11
0000075A 4840 swap.w D0
0000075C 3600 move.w D3, D0
0000075E 4840 swap.w D0
00000760 7800 moveq.l D4, 0x00
00000762 3800 move.w D4, D0
00000764 6710 beq +0x12 /* 00000776 */
00000766 598F subq.l A7, 4
00000768 A975 syscall TickCount
0000076A D897 add.l D4, [A7]
label0000076C:
0000076C A9B4 syscall SystemTask
0000076E A975 syscall TickCount
00000770 B897 cmp.l D4, [A7]
00000772 64F8 bcc -0x6 /* 0000076C */
00000774 588F addq.l A7, 4
label00000776:
00000776 323C 01F4 move.w D1, 0x1F4
label0000077A:
0000077A 51C9 FFFE dbf D1, -0x4 /* 0000077A */
0000077E 51CB FFF6 dbf D3, -0xC /* 00000776 */
label00000782:
00000782 4E75 rts
00000784 40E7 move.w -[A7], SR
00000786 48E7 FFFE movem.l -[A7], D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4,A5,A6
0000078A 206F 003E movea.l A0, [A7 + 0x3E]
0000078E 5488 addq.l A0, 2
00000790 3B58 FD2C move.w [A5 - 0x2D4], [A0]+
00000794 2F48 003E move.l [A7 + 0x3E], A0
00000798 1F2D FD22 move.b -[A7], [A5 - 0x2DE]
0000079C 1B41 FD22 move.b [A5 - 0x2DE], D1
000007A0 4EBA 1B36 jsr [PC + 0x1B36 /* 000022D8 */]
000007A4 615C bsr +0x5E /* 00000802 */
000007A6 1B5F FD22 move.b [A5 - 0x2DE], [A7]+
000007AA 4EBA 1B2C jsr [PC + 0x1B2C /* 000022D8 */]
000007AE 601A bra +0x1C /* 000007CA */
000007B0 40E7 move.w -[A7], SR
000007B2 48E7 FFFE movem.l -[A7], D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4,A5,A6
000007B6 206F 003E movea.l A0, [A7 + 0x3E]
000007BA 5488 addq.l A0, 2
000007BC 3B58 FD2C move.w [A5 - 0x2D4], [A0]+
000007C0 2F48 003E move.l [A7 + 0x3E], A0
000007C4 50ED FD25 st [A5 - 0x2DB]
000007C8 6140 bsr +0x42 /* 0000080A */
label000007CA:
000007CA 4CDF 7FFF movem.l D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4,A5,A6, [A7]+
000007CE 44DF move.b [A7]+, CCR
000007D0 4E75 rts
000007D2 40E7 move.w -[A7], SR
000007D4 48E7 FFFE movem.l -[A7], D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4,A5,A6
000007D8 206F 003E movea.l A0, [A7 + 0x3E]
000007DC 5488 addq.l A0, 2
000007DE 3B58 FD2C move.w [A5 - 0x2D4], [A0]+
000007E2 2F48 003E move.l [A7 + 0x3E], A0
000007E6 611A bsr +0x1C /* 00000802 */
000007E8 60E0 bra -0x1E /* 000007CA */
000007EA 40E7 move.w -[A7], SR
000007EC 48E7 FFFE movem.l -[A7], D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4,A5,A6
000007F0 206F 003E movea.l A0, [A7 + 0x3E]
000007F4 5488 addq.l A0, 2
000007F6 3B58 FD2C move.w [A5 - 0x2D4], [A0]+
000007FA 2F48 003E move.l [A7 + 0x3E], A0
000007FE 610A bsr +0xC /* 0000080A */
00000800 60C8 bra -0x36 /* 000007CA */
fn00000802:
00000802 302D FD2C move.w D0, [A5 - 0x2D4]
00000806 4EBA 00FA jsr [PC + 0xFA /* 00000902 */]
fn0000080A:
0000080A 598F subq.l A7, 4
0000080C 2F0F move.l -[A7], A7
0000080E A874 syscall GetPort
00000810 302D FD2C move.w D0, [A5 - 0x2D4]
00000814 222D F730 move.l D1, [A5 - 0x8D0]
00000818 6728 beq +0x2A /* 00000842 */
0000081A 2241 movea.l A1, D1
0000081C 41FA F7F0 lea.l A0, [PC - 0x810 /* 0000000E, value 0x4EFA0064 */]
00000820 246D F764 movea.l A2, [A5 - 0x89C]
00000824 266D F754 movea.l A3, [A5 - 0x8AC]
00000828 222D F78A move.l D1, [A5 - 0x876]
0000082C 74FF moveq.l D2, 0xFFFFFFFF
0000082E 262D F74C move.l D3, [A5 - 0x8B4]
00000832 4E91 jsr [A1]
00000834 422D F87E clr.b [A5 - 0x782]
00000838 4A40 tst.w D0
0000083A 6600 0054 bne +0x56 /* 00000890 */
0000083E A873 syscall SetPort
00000840 4E75 rts
label00000842:
00000842 2F2D F62E move.l -[A7], [A5 - 0x9D2]
00000846 A873 syscall SetPort
label00000848:
00000848 A9B4 syscall SystemTask
0000084A 4A2D F73A tst.b [A5 - 0x8C6]
0000084E 6740 beq +0x42 /* 00000890 */
00000850 4A2D FD25 tst.b [A5 - 0x2DB]
00000854 6B0C bmi +0xE /* 00000862 */
00000856 4EBA 1F94 jsr [PC + 0x1F94 /* 000027EC */]
0000085A 672A beq +0x2C /* 00000886 */
0000085C 0C00 00EA cmpi.b D0, 0xEA
00000860 6604 bne +0x6 /* 00000866 */
label00000862:
00000862 4EBA 1F4C jsr [PC + 0x1F4C /* 000027B0 */]
label00000866:
00000866 0C00 0082 cmpi.b D0, 0x82
0000086A 6724 beq +0x26 /* 00000890 */
0000086C 0C00 002E cmpi.b D0, 0x2E /* '.' */
00000870 6608 bne +0xA /* 0000087A */
00000872 082D 0000 F728 btst.b [A5 - 0x8D8], 0x0
00000878 6616 bne +0x18 /* 00000890 */
label0000087A:
0000087A 0C00 00F3 cmpi.b D0, 0xF3
0000087E 6606 bne +0x8 /* 00000886 */
00000880 462D FD25 not.b [A5 - 0x2DB]
00000884 60C2 bra -0x3C /* 00000848 */
label00000886:
00000886 A873 syscall SetPort
00000888 4E75 rts
0000088A 422D FD25 clr.b [A5 - 0x2DB]
0000088E 4E75 rts
label00000890:
00000890 A873 syscall SetPort
00000892 302D FD2C move.w D0, [A5 - 0x2D4]
00000896 7202 moveq.l D1, 0x02
00000898 601E bra +0x20 /* 000008B8 */
0000089A 40E7 move.w -[A7], SR
0000089C 48E7 FFFE movem.l -[A7], D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4,A5,A6
000008A0 206F 003E movea.l A0, [A7 + 0x3E]
000008A4 5488 addq.l A0, 2
000008A6 3B58 FD2C move.w [A5 - 0x2D4], [A0]+
000008AA 2F48 003E move.l [A7 + 0x3E], A0
000008AE 487A FF1A pea.l [PC - 0xE6 /* 000007CA, value 0x4CDF7FFF */]
000008B2 302D FD2C move.w D0, [A5 - 0x2D4]
000008B6 7201 moveq.l D1, 0x01
fn000008B8:
000008B8 7806 moveq.l D4, 0x06
000008BA 6004 bra +0x6 /* 000008C0 */
000008BC 7203 moveq.l D1, 0x03
label000008BE:
000008BE 7805 moveq.l D4, 0x05
label000008C0:
000008C0 3B40 F65A move.w [A5 - 0x9A6], D0
000008C4 4EBA 0C66 jsr [PC + 0xC66 /* 0000152C */]
000008C8 486D FA7E pea.l [A5 - 0x582]
000008CC 422D F64B clr.b [A5 - 0x9B5]
000008D0 4267 clr.w -[A7]
000008D2 7000 moveq.l D0, 0x00
000008D4 302D F65A move.w D0, [A5 - 0x9A6]
000008D8 41ED F87E lea.l A0, [A5 - 0x782]
000008DC A9EE syscall Pack7/DecStr68K
000008DE 486D F87E pea.l [A5 - 0x782]
000008E2 487A 0CAC pea.l [PC + 0xCAC /* 00001590, value 0x50ED */]
000008E6 487A 0CA8 pea.l [PC + 0xCA8 /* 00001590, value 0x50ED */]
000008EA A98B syscall ParamText
000008EC 558F subq.l A7, 2
000008EE 3F04 move.w -[A7], D4
000008F0 42A7 clr.l -[A7]
000008F2 A986 syscall StopAlert
000008F4 301F move.w D0, [A7]+
000008F6 5540 subq.w D0, 2
000008F8 6600 F908 bne -0x6F6 /* 00000202 */
000008FC 426D F87E clr.w [A5 - 0x782]
00000900 4E75 rts
fn00000902:
00000902 41ED FA7E lea.l A0, [A5 - 0x582]
00000906 0280 0000 FFFF andi.l D0, 0xFFFF
0000090C 4EBA 03B6 jsr [PC + 0x3B6 /* 00000CC4 */]
00000910 7204 moveq.l D1, 0x04
00000912 41ED FA7E lea.l A0, [A5 - 0x582]
label00000916:
00000916 1018 move.b D0, [A0]+
00000918 4EBA 1ADC jsr [PC + 0x1ADC /* 000023F6 */]
0000091C 51C9 FFF8 dbf D1, -0xA /* 00000916 */
00000920 4EFA 1AD2 jmp [PC + 0x1AD2 /* 000023F4 */]
00000924 48E7 E0C0 movem.l -[A7], D0,D1,D2,A0,A1
00000928 7004 moveq.l D0, 0x04
0000092A 6106 bsr +0x8 /* 00000932 */
0000092C 4CDF 0307 movem.l D0,D1,D2,A0,A1, [A7]+
00000930 4E75 rts
fn00000932:
00000932 4A40 tst.w D0
00000934 6720 beq +0x22 /* 00000956 */
00000936 6A08 bpl +0xA /* 00000940 */
00000938 4440 neg.w D0
0000093A 3B7C 270F F524 move.w [A5 - 0xADC], 0x270F
label00000940:
00000940 3B40 F53E move.w [A5 - 0xAC2], D0
00000944 598F subq.l A7, 4
00000946 3F00 move.w -[A7], D0
00000948 A9B9 syscall GetCursor
0000094A 201F move.l D0, [A7]+
0000094C 670E beq +0x10 /* 0000095C */
0000094E 2040 movea.l A0, D0
00000950 2F10 move.l -[A7], [A0]
00000952 A851 syscall SetCursor
00000954 6006 bra +0x8 /* 0000095C */
label00000956:
00000956 426D F53E clr.w [A5 - 0xAC2]
0000095A A850 syscall InitCursor
label0000095C:
0000095C 4E75 rts
export_27:
0000095E 4A2D F4B4 tst.b [A5 - 0xB4C]
00000962 6600 4A62 bne +0x4A64 /* 000053C6 */
00000966 0C40 000C cmpi.w D0, 0xC
0000096A 6304 bls +0x6 /* 00000970 */
0000096C 7000 moveq.l D0, 0x00
0000096E 4E75 rts
label00000970:
00000970 D040 add.w D0, D0
00000972 303B 0006 move.w D0, [PC + D0.w + 0x6]
00000976 4EFB 0002 jmp [PC + D0.w + 0x2]
0000097A 002A 002E 004A ori.b [A2 + 0x4A], 0x2E /* '.' */
00000980 001E 001A ori.b [A6]+, 0x1A
00000984 001C 0094 ori.b [A4]+, 0x94
00000988 0086 00AE 00A2 ori.l D6, 0xAE00A2
0000098E 00BA 007E 0076 AC53 ori.l [PC - 0x53AD /* FFFFB5E3 */], 0x7E0076 /* '~\0v' */
00000996 AC52 syscall HideCursor, auto_pop
00000998 4267 clr.w -[A7]
0000099A A974 syscall Button
0000099C 4A5F tst.w [A7]+
0000099E 6604 bne +0x6 /* 000009A4 */
000009A0 7000 moveq.l D0, 0x00
000009A2 4E75 rts
label000009A4:
000009A4 70FF moveq.l D0, 0xFFFFFFFF
000009A6 4E75 rts
000009A8 486D FC7E pea.l [A5 - 0x382]
000009AC A972 syscall GetMouse
000009AE 486D FC7E pea.l [A5 - 0x382]
000009B2 486D F678 pea.l [A5 - 0x988]
000009B6 486D F566 pea.l [A5 - 0xA9A]
000009BA A8F9 syscall MapPt
000009BC 302D FC80 move.w D0, [A5 - 0x380]
000009C0 48C0 ext.l D0
000009C2 4E75 rts
000009C4 486D FC7E pea.l [A5 - 0x382]
000009C8 A972 syscall GetMouse
000009CA 486D FC7E pea.l [A5 - 0x382]
000009CE 486D F678 pea.l [A5 - 0x988]
000009D2 486D F566 pea.l [A5 - 0xA9A]
000009D6 A8F9 syscall MapPt
000009D8 302D FC7E move.w D0, [A5 - 0x382]
000009DC 48C0 ext.l D0
000009DE 4E75 rts
fn000009E0:
000009E0 486D FC7E pea.l [A5 - 0x382]
000009E4 A972 syscall GetMouse
000009E6 486D FC7E pea.l [A5 - 0x382]
000009EA A870 syscall LocalToGlobal
000009EC 7000 moveq.l D0, 0x00
000009EE 4E75 rts
000009F0 61EE bsr -0x10 /* 000009E0 */
000009F2 302D FC7E move.w D0, [A5 - 0x382]
000009F6 4E75 rts
000009F8 61E6 bsr -0x18 /* 000009E0 */
000009FA 302D FC80 move.w D0, [A5 - 0x380]
000009FE 4E75 rts
00000A00 486D FC7E pea.l [A5 - 0x382]
00000A04 A972 syscall GetMouse
00000A06 7000 moveq.l D0, 0x00
00000A08 302D FC7E move.w D0, [A5 - 0x382]
00000A0C 4E75 rts
00000A0E 486D FC7E pea.l [A5 - 0x382]
00000A12 A972 syscall GetMouse
00000A14 7000 moveq.l D0, 0x00
00000A16 302D FC80 move.w D0, [A5 - 0x380]
00000A1A 4E75 rts
00000A1C 4267 clr.w -[A7]
00000A1E A977 syscall WaitMouseUp
00000A20 4A5F tst.w [A7]+
00000A22 670C beq +0xE /* 00000A30 */
label00000A24:
00000A24 70FF moveq.l D0, 0xFFFFFFFF
00000A26 4E75 rts
00000A28 4267 clr.w -[A7]
00000A2A A973 syscall StillDown
00000A2C 4A5F tst.w [A7]+
00000A2E 66F4 bne -0xA /* 00000A24 */
label00000A30:
00000A30 7000 moveq.l D0, 0x00
00000A32 4E75 rts
00000A34 2038 02F0 move.l D0, [0x000002F0 /* DoubleTime */]
00000A38 4E75 rts
00000A3A 6104 bsr +0x6 /* 00000A40 */
00000A3C 4EFA 54E4 jmp [PC + 0x54E4 /* 00005F22 */]
fn00000A40:
00000A40 41ED FDFC lea.l A0, [A5 - 0x204]
00000A44 6144 bsr +0x46 /* 00000A8A */
00000A46 41ED FDFD lea.l A0, [A5 - 0x203]
00000A4A 4EBA 5338 jsr [PC + 0x5338 /* 00005D84 */]
00000A4E 206F 0008 movea.l A0, [A7 + 0x8]
00000A52 2F6F 0004 0008 move.l [A7 + 0x8], [A7 + 0x4]
00000A58 2E9F move.l [A7], [A7]+
00000A5A 4E75 rts
00000A5C 61E2 bsr -0x1C /* 00000A40 */
00000A5E 4EFA 555C jmp [PC + 0x555C /* 00005FBC */]
fn00000A62:
00000A62 41ED FDFC lea.l A0, [A5 - 0x204]
00000A66 6122 bsr +0x24 /* 00000A8A */
00000A68 41ED FDFD lea.l A0, [A5 - 0x203]
00000A6C 4EFA 02CA jmp [PC + 0x2CA /* 00000D38 */]
00000A70 61F0 bsr -0xE /* 00000A62 */
00000A72 225F movea.l A1, [A7]+
00000A74 205F movea.l A0, [A7]+
00000A76 3080 move.w [A0], D0
00000A78 4ED1 jmp [A1]
00000A7A 61E6 bsr -0x18 /* 00000A62 */
00000A7C 225F movea.l A1, [A7]+
00000A7E 205F movea.l A0, [A7]+
00000A80 2080 move.l [A0], D0
00000A82 4ED1 jmp [A1]
00000A84 206F 0004 movea.l A0, [A7 + 0x4]
00000A88 2E9F move.l [A7], [A7]+
fn00000A8A:
00000A8A 226D FD28 movea.l A1, [A5 - 0x2D8]
00000A8E 4210 clr.b [A0]
00000A90 2448 movea.l A2, A0
label00000A92:
00000A92 4A11 tst.b [A1]
00000A94 671C beq +0x1E /* 00000AB2 */
00000A96 0C11 0020 cmpi.b [A1], 0x20 /* ' ' */
00000A9A 6604 bne +0x6 /* 00000AA0 */
00000A9C 5289 addq.l A1, 1
00000A9E 60F2 bra -0xC /* 00000A92 */
label00000AA0:
00000AA0 727F moveq.l D1, 0x7F
00000AA2 143C 002C move.b D2, 0x2C /* ',' */
00000AA6 0C11 0022 cmpi.b [A1], 0x22 /* '\"' */
00000AAA 6606 bne +0x8 /* 00000AB2 */
00000AAC 143C 0022 move.b D2, 0x22 /* '\"' */
00000AB0 5289 addq.l A1, 1
label00000AB2:
00000AB2 5288 addq.l A0, 1
00000AB4 4A11 tst.b [A1]
00000AB6 6720 beq +0x22 /* 00000AD8 */
00000AB8 B411 cmp.b D2, [A1]
00000ABA 6708 beq +0xA /* 00000AC4 */
00000ABC 1099 move.b [A0], [A1]+
00000ABE 5212 addq.b [A2], 1
00000AC0 51C9 FFF0 dbf D1, -0x12 /* 00000AB2 */
label00000AC4:
00000AC4 0C02 002C cmpi.b D2, 0x2C /* ',' */
00000AC8 670C beq +0xE /* 00000AD6 */
00000ACA 4A11 tst.b [A1]
00000ACC 670A beq +0xC /* 00000AD8 */
00000ACE 0C19 002C cmpi.b [A1]+, 0x2C /* ',' */
00000AD2 6704 beq +0x6 /* 00000AD8 */
00000AD4 60EE bra -0x10 /* 00000AC4 */
label00000AD6:
00000AD6 5289 addq.l A1, 1
label00000AD8:
00000AD8 2B49 FD28 move.l [A5 - 0x2D8], A1
00000ADC 4210 clr.b [A0]
00000ADE 4EFA 0830 jmp [PC + 0x830 /* 00001310 */]
00000AE2 2F08 move.l -[A7], A0
00000AE4 2049 movea.l A0, A1
00000AE6 6110 bsr +0x12 /* 00000AF8 */
00000AE8 6004 bra +0x6 /* 00000AEE */
00000AEA 2F08 move.l -[A7], A0
00000AEC 6106 bsr +0x8 /* 00000AF4 */
label00000AEE:
00000AEE 205F movea.l A0, [A7]+
00000AF0 4EFA 0810 jmp [PC + 0x810 /* 00001302 */]
fn00000AF4:
00000AF4 41FA 0A96 lea.l A0, [PC + 0xA96 /* 0000158C, value 0x23F2000, pstring "? " */]
fn00000AF8:
00000AF8 4EBA 0820 jsr [PC + 0x820 /* 0000131A */]
00000AFC 41ED F87F lea.l A0, [A5 - 0x781]
00000B00 2B48 FD28 move.l [A5 - 0x2D8], A0
00000B04 7200 moveq.l D1, 0x00
00000B06 122D FD27 move.b D1, [A5 - 0x2D9]
00000B0A 6602 bne +0x4 /* 00000B0E */
00000B0C 7201 moveq.l D1, 0x01
label00000B0E:
00000B0E 4EBA 08BC jsr [PC + 0x8BC /* 000013CC */]
00000B12 6402 bcc +0x4 /* 00000B16 */
00000B14 7200 moveq.l D1, 0x00
label00000B16:
00000B16 1B7C 00FF FD27 move.b [A5 - 0x2D9], 0xFF
00000B1C 422D FD26 clr.b [A5 - 0x2DA]
00000B20 1141 FFFF move.b [A0 - 0x1], D1
00000B24 4E75 rts
00000B26 2B6D FD1A FCFE move.l [A5 - 0x302], [A5 - 0x2E6]
00000B2C 4A40 tst.w D0
00000B2E 6708 beq +0xA /* 00000B38 */
00000B30 5340 subq.w D0, 1
label00000B32:
00000B32 612C bsr +0x2E /* 00000B60 */
00000B34 51C8 FFFC dbf D0, -0x6 /* 00000B32 */
label00000B38:
00000B38 4E75 rts
00000B3A 6124 bsr +0x26 /* 00000B60 */
00000B3C 5389 subq.l A1, 1
00000B3E 2089 move.l [A0], A1
00000B40 4E75 rts
00000B42 611C bsr +0x1E /* 00000B60 */
00000B44 6716 beq +0x18 /* 00000B5C */
00000B46 0801 000B btst.b D1, 0xB
00000B4A 6710 beq +0x12 /* 00000B5C */
00000B4C 0241 00FF andi.w D1, 0xFF
00000B50 10C1 move.b [A0]+, D1
00000B52 5341 subq.w D1, 1
label00000B54:
00000B54 10D9 move.b [A0]+, [A1]+
00000B56 51C9 FFFC dbf D1, -0x6 /* 00000B54 */
00000B5A 4E75 rts
label00000B5C:
00000B5C 4210 clr.b [A0]
00000B5E 4E75 rts
fn00000B60:
00000B60 226D FCFE movea.l A1, [A5 - 0x302]
00000B64 7200 moveq.l D1, 0x00
00000B66 3219 move.w D1, [A1]+
00000B68 6B1C bmi +0x1E /* 00000B86 */
00000B6A 3F01 move.w -[A7], D1
00000B6C 0241 00FF andi.w D1, 0xFF
00000B70 D3AD FCFE add.l [A5 - 0x302], D1
00000B74 54AD FCFE addq.l [A5 - 0x302], 2
00000B78 082D 0000 FD01 btst.b [A5 - 0x2FF], 0x0
00000B7E 6704 beq +0x6 /* 00000B84 */
00000B80 52AD FCFE addq.l [A5 - 0x302], 1
label00000B84:
00000B84 321F move.w D1, [A7]+
label00000B86:
00000B86 4A01 tst.b D1
00000B88 4E75 rts
00000B8A 61D4 bsr -0x2A /* 00000B60 */
00000B8C 6604 bne +0x6 /* 00000B92 */
00000B8E 4250 clr.w [A0]
00000B90 4E75 rts
label00000B92:
00000B92 0801 0008 btst.b D1, 0x8
00000B96 6704 beq +0x6 /* 00000B9C */
00000B98 3091 move.w [A0], [A1]
00000B9A 4E75 rts
label00000B9C:
00000B9C 0801 0009 btst.b D1, 0x9 /* '\t' */
00000BA0 6706 beq +0x8 /* 00000BA8 */
00000BA2 30A9 0002 move.w [A0], [A1 + 0x2]
00000BA6 4E75 rts
label00000BA8:
00000BA8 0801 000A btst.b D1, 0xA /* '\n' */
00000BAC 6710 beq +0x12 /* 00000BBE */
00000BAE 2F08 move.l -[A7], A0
00000BB0 4EBA 0088 jsr [PC + 0x88 /* 00000C3A */]
00000BB4 4EBA 4FCC jsr [PC + 0x4FCC /* 00005B82 */]
00000BB8 205F movea.l A0, [A7]+
00000BBA 3080 move.w [A0], D0
00000BBC 4E75 rts
label00000BBE:
00000BBE 0241 00FF andi.w D1, 0xFF
00000BC2 6702 beq +0x4 /* 00000BC6 */
00000BC4 1211 move.b D1, [A1]
label00000BC6:
00000BC6 3081 move.w [A0], D1
00000BC8 4E75 rts
00000BCA 6194 bsr -0x6A /* 00000B60 */
00000BCC 6604 bne +0x6 /* 00000BD2 */
00000BCE 4290 clr.l [A0]
00000BD0 4E75 rts
label00000BD2:
00000BD2 0801 0009 btst.b D1, 0x9 /* '\t' */
00000BD6 6704 beq +0x6 /* 00000BDC */
00000BD8 2091 move.l [A0], [A1]
00000BDA 4E75 rts
label00000BDC:
00000BDC 0801 0008 btst.b D1, 0x8
00000BE0 6706 beq +0x8 /* 00000BE8 */
00000BE2 3251 movea.w A1, [A1]
00000BE4 2089 move.l [A0], A1
00000BE6 4E75 rts
label00000BE8:
00000BE8 0801 000A btst.b D1, 0xA /* '\n' */
00000BEC 6710 beq +0x12 /* 00000BFE */
00000BEE 2F08 move.l -[A7], A0
00000BF0 4EBA 0048 jsr [PC + 0x48 /* 00000C3A */]
00000BF4 4EBA 4F8C jsr [PC + 0x4F8C /* 00005B82 */]
00000BF8 205F movea.l A0, [A7]+
00000BFA 2080 move.l [A0], D0
00000BFC 4E75 rts
label00000BFE:
00000BFE 0241 00FF andi.w D1, 0xFF
00000C02 6702 beq +0x4 /* 00000C06 */
00000C04 1211 move.b D1, [A1]
label00000C06:
00000C06 2081 move.l [A0], D1
00000C08 4E75 rts
00000C0A 2F08 move.l -[A7], A0
00000C0C 6110 bsr +0x12 /* 00000C1E */
00000C0E 205F movea.l A0, [A7]+
00000C10 4EFA 5310 jmp [PC + 0x5310 /* 00005F22 */]
00000C14 2F08 move.l -[A7], A0
00000C16 6106 bsr +0x8 /* 00000C1E */
00000C18 205F movea.l A0, [A7]+
00000C1A 4EFA 53A0 jmp [PC + 0x53A0 /* 00005FBC */]
fn00000C1E:
00000C1E 6100 FF40 bsr -0xBE /* 00000B60 */
00000C22 6700 549C beq +0x549E /* 000060C0 */
00000C26 0801 0008 btst.b D1, 0x8
00000C2A 661C bne +0x1E /* 00000C48 */
00000C2C 0801 0009 btst.b D1, 0x9 /* '\t' */
00000C30 661E bne +0x20 /* 00000C50 */
00000C32 0801 000A btst.b D1, 0xA /* '\n' */
00000C36 6700 5488 beq +0x548A /* 000060C0 */
fn00000C3A:
00000C3A 7000 moveq.l D0, 0x00
00000C3C 1001 move.b D0, D1
00000C3E E248 lsr D0.w, 1
00000C40 5540 subq.w D0, 2
00000C42 2049 movea.l A0, A1
00000C44 4EFA 53E6 jmp [PC + 0x53E6 /* 0000602C */]
label00000C48:
00000C48 3011 move.w D0, [A1]
00000C4A 48C0 ext.l D0
00000C4C 4EFA 4FA6 jmp [PC + 0x4FA6 /* 00005BF4 */]
label00000C50:
00000C50 2011 move.l D0, [A1]
00000C52 4EFA 4FA0 jmp [PC + 0x4FA0 /* 00005BF4 */]
00000C56 3010 move.w D0, [A0]
00000C58 3091 move.w [A0], [A1]
00000C5A 3280 move.w [A1], D0
00000C5C 4E75 rts
00000C5E 2010 move.l D0, [A0]
00000C60 2091 move.l [A0], [A1]
00000C62 2280 move.l [A1], D0
00000C64 4E75 rts
00000C66 302D FDA4 move.w D0, [A5 - 0x25C]
label00000C6A:
00000C6A 1210 move.b D1, [A0]
00000C6C 10D1 move.b [A0]+, [A1]
00000C6E 12C1 move.b [A1]+, D1
00000C70 51C8 FFF8 dbf D0, -0xA /* 00000C6A */
00000C74 4E75 rts
00000C76 302D FDA8 move.w D0, [A5 - 0x258]
label00000C7A:
00000C7A 3210 move.w D1, [A0]
00000C7C 30D1 move.w [A0]+, [A1]
00000C7E 32C1 move.w [A1]+, D1
00000C80 51C8 FFF8 dbf D0, -0xA /* 00000C7A */
00000C84 4E75 rts
00000C86 7000 moveq.l D0, 0x00
00000C88 1010 move.b D0, [A0]
00000C8A B011 cmp.b D0, [A1]
00000C8C 6402 bcc +0x4 /* 00000C90 */
00000C8E 1011 move.b D0, [A1]
label00000C90:
00000C90 60D8 bra -0x26 /* 00000C6A */
00000C92 3B9A CA00 move.w [A5 + A4 * 2], [A2]+
00000C96 05F5 E100 bset [A5 + <<invalid base displacement size>> + A6], D2
00000C9A 0098 9680 000F ori.l [A0]+, 0x9680000F
00000CA0 4240 clr.w D0
00000CA2 0001 86A0 ori.b D1, 0xA0
00000CA6 0000 2710 ori.b D0, 0x10
00000CAA 0000 03E8 ori.b D0, 0xE8
00000CAE 0000 0064 ori.b D0, 0x64 /* 'd' */
00000CB2 0000 000A ori.b D0, 0xA /* '\n' */
00000CB6 0000 0001 ori.b D0, 0x1
00000CBA 0000 0000 ori.b D0, 0x0
fn00000CBE:
00000CBE 6108 bsr +0xA /* 00000CC8 */
00000CC0 10C3 move.b [A0]+, D3
00000CC2 4E75 rts
fn00000CC4:
00000CC4 7205 moveq.l D1, 0x05
00000CC6 6006 bra +0x8 /* 00000CCE */
fn00000CC8:
00000CC8 7208 moveq.l D1, 0x08
00000CCA 6002 bra +0x4 /* 00000CCE */
fn00000CCC:
00000CCC 7209 moveq.l D1, 0x09
fn00000CCE:
00000CCE 43FA FFC2 lea.l A1, [PC - 0x3E /* 00000C92, value 0x3B9ACA00 */]
label00000CD2:
00000CD2 2419 move.l D2, [A1]+
00000CD4 B082 cmp.l D0, D2
00000CD6 54C9 FFFA dbcc D1, -0x8 /* 00000CD2 */
label00000CDA:
00000CDA 722F moveq.l D1, 0x2F
label00000CDC:
00000CDC 5201 addq.b D1, 1
00000CDE 9082 sub.l D0, D2
00000CE0 64FA bcc -0x4 /* 00000CDC */
00000CE2 D082 add.l D0, D2
00000CE4 10C1 move.b [A0]+, D1
00000CE6 2419 move.l D2, [A1]+
00000CE8 66F0 bne -0xE /* 00000CDA */
00000CEA 4E75 rts
export_66:
00000CEC 6120 bsr +0x22 /* 00000D0E */
00000CEE 11BC 0020 0000 move.b [A0 + D0.w], 0x20 /* ' ' */
00000CF4 5388 subq.l A0, 1
00000CF6 5200 addq.b D0, 1
00000CF8 1080 move.b [A0], D0
00000CFA 4EFA 061E jmp [PC + 0x61E /* 0000131A */]
00000CFE 3600 move.w D3, D0
label00000D00:
00000D00 1018 move.b D0, [A0]+
00000D02 4EBA 16F2 jsr [PC + 0x16F2 /* 000023F6 */]
00000D06 51CB FFF8 dbf D3, -0xA /* 00000D00 */
00000D0A 4EFA 16E8 jmp [PC + 0x16E8 /* 000023F4 */]
fn00000D0E:
00000D0E 41ED FDFC lea.l A0, [A5 - 0x204]
00000D12 323C 2D20 move.w D1, 0x2D20 /* '- ' */
00000D16 4A80 tst.l D0
00000D18 6A04 bpl +0x6 /* 00000D1E */
00000D1A 4480 neg.l D0
00000D1C E059 ror D1.w, 8
label00000D1E:
00000D1E 2F08 move.l -[A7], A0
00000D20 10C1 move.b [A0]+, D1
00000D22 61A8 bsr -0x56 /* 00000CCC */
00000D24 C188 exg D0, A0
00000D26 205F movea.l A0, [A7]+
00000D28 9088 sub.l D0, A0
00000D2A 4E75 rts
fn00000D2C:
00000D2C 1218 move.b D1, [A0]+
00000D2E 0401 0030 subi.b D1, 0x30 /* '0' */
00000D32 0C01 000A cmpi.b D1, 0xA /* '\n' */
00000D36 4E75 rts
fn00000D38:
00000D38 4EBA 5008 jsr [PC + 0x5008 /* 00005D42 */]
00000D3C 3F00 move.w -[A7], D0
00000D3E 7000 moveq.l D0, 0x00
00000D40 7200 moveq.l D1, 0x00
00000D42 0C10 0026 cmpi.b [A0], 0x26 /* '&' */
00000D46 6722 beq +0x24 /* 00000D6A */
label00000D48:
00000D48 61E2 bsr -0x1C /* 00000D2C */
00000D4A 640C bcc +0xE /* 00000D58 */
00000D4C D080 add.l D0, D0
00000D4E 2400 move.l D2, D0
00000D50 E588 lsl D0, 2
00000D52 D082 add.l D0, D2
00000D54 D081 add.l D0, D1
00000D56 60F0 bra -0xE /* 00000D48 */
label00000D58:
00000D58 4A5F tst.w [A7]+
00000D5A 6A02 bpl +0x4 /* 00000D5E */
00000D5C 4480 neg.l D0
label00000D5E:
00000D5E 5388 subq.l A0, 1
label00000D60:
00000D60 0C18 0020 cmpi.b [A0]+, 0x20 /* ' ' */
00000D64 67FA beq -0x4 /* 00000D60 */
00000D66 5388 subq.l A0, 1
00000D68 4E75 rts
label00000D6A:
00000D6A 5288 addq.l A0, 1
00000D6C 725F moveq.l D1, 0x5F
00000D6E C210 and.b D1, [A0]
00000D70 0C01 0058 cmpi.b D1, 0x58 /* 'X' */
00000D74 6736 beq +0x38 /* 00000DAC */
00000D76 0C01 004F cmpi.b D1, 0x4F /* 'O' */
00000D7A 6742 beq +0x44 /* 00000DBE */
00000D7C 0C01 0048 cmpi.b D1, 0x48 /* 'H' */
00000D80 6602 bne +0x4 /* 00000D84 */
00000D82 5288 addq.l A0, 1
label00000D84:
00000D84 61A6 bsr -0x58 /* 00000D2C */
00000D86 651E bcs +0x20 /* 00000DA6 */
00000D88 0C01 0011 cmpi.b D1, 0x11
00000D8C 65CA bcs -0x34 /* 00000D58 */
00000D8E 5F01 subq.b D1, 7
00000D90 0C01 0010 cmpi.b D1, 0x10
00000D94 6510 bcs +0x12 /* 00000DA6 */
00000D96 0C01 002A cmpi.b D1, 0x2A /* '*' */
00000D9A 65BC bcs -0x42 /* 00000D58 */
00000D9C 0401 0020 subi.b D1, 0x20 /* ' ' */
00000DA0 0C01 0010 cmpi.b D1, 0x10
00000DA4 64B2 bcc -0x4C /* 00000D58 */
label00000DA6:
00000DA6 E988 lsl D0, 4
00000DA8 D041 add.w D0, D1
00000DAA 60D8 bra -0x26 /* 00000D84 */
label00000DAC:
00000DAC 5288 addq.l A0, 1
label00000DAE:
00000DAE 1218 move.b D1, [A0]+
00000DB0 0401 0030 subi.b D1, 0x30 /* '0' */
00000DB4 65A2 bcs -0x5C /* 00000D58 */
00000DB6 E211 roxr D1.b, 1
00000DB8 669E bne -0x60 /* 00000D58 */
00000DBA E390 roxl D0, 1
00000DBC 60F0 bra -0xE /* 00000DAE */
label00000DBE:
00000DBE 5288 addq.l A0, 1
label00000DC0:
00000DC0 1218 move.b D1, [A0]+
00000DC2 0401 0030 subi.b D1, 0x30 /* '0' */
00000DC6 0C01 0008 cmpi.b D1, 0x8
00000DCA 648C bcc -0x72 /* 00000D58 */
00000DCC E788 lsl D0, 3
00000DCE 8001 or.b D0, D1
00000DD0 60EE bra -0x10 /* 00000DC0 */
export_40:
00000DD2 206D FFFC movea.l A0, [A5 - 0x4]
00000DD6 2B68 0030 FC7E move.l [A5 - 0x382], [A0 + 0x30]
00000DDC 245F movea.l A2, [A7]+
00000DDE 301F move.w D0, [A7]+
00000DE0 0C40 8000 cmpi.w D0, 0x8000
00000DE4 6704 beq +0x6 /* 00000DEA */
00000DE6 3B40 FC7E move.w [A5 - 0x382], D0
label00000DEA:
00000DEA 301F move.w D0, [A7]+
00000DEC 0C40 8000 cmpi.w D0, 0x8000
00000DF0 6704 beq +0x6 /* 00000DF6 */
00000DF2 3B40 FC80 move.w [A5 - 0x380], D0
label00000DF6:
00000DF6 486D FC7E pea.l [A5 - 0x382]
00000DFA 486D F566 pea.l [A5 - 0xA9A]
00000DFE 486D F678 pea.l [A5 - 0x988]
00000E02 A8F9 syscall MapPt
00000E04 2F2D FC7E move.l -[A7], [A5 - 0x382]
00000E08 A893 syscall MoveTo
00000E0A 4ED2 jmp [A2]
00000E0C 202F 0004 move.l D0, [A7 + 0x4]
00000E10 4840 swap.w D0
00000E12 90B8 0A02 sub.l D0, [0x00000A02 /* OneOne */]
00000E16 2F40 0004 move.l [A7 + 0x4], D0
00000E1A 206D FFFC movea.l A0, [A5 - 0x4]
00000E1E 2B68 0030 FC7E move.l [A5 - 0x382], [A0 + 0x30]
00000E24 245F movea.l A2, [A7]+
00000E26 301F move.w D0, [A7]+
00000E28 6B1A bmi +0x1C /* 00000E44 */
00000E2A 322D F660 move.w D1, [A5 - 0x9A0]
00000E2E D26D F662 add.w D1, [A5 - 0x99E]
00000E32 D26D F666 add.w D1, [A5 - 0x99A]
00000E36 C0C1 mulu.w D0, D1
00000E38 D06D F660 add.w D0, [A5 - 0x9A0]
00000E3C D06D F662 add.w D0, [A5 - 0x99E]
00000E40 3B40 FC7E move.w [A5 - 0x382], D0
label00000E44:
00000E44 301F move.w D0, [A7]+
00000E46 6B1A bmi +0x1C /* 00000E62 */
00000E48 4A2D F64B tst.b [A5 - 0x9B5]
00000E4C 6606 bne +0x8 /* 00000E54 */
00000E4E 3B40 F644 move.w [A5 - 0x9BC], D0
00000E52 6004 bra +0x6 /* 00000E58 */
label00000E54:
00000E54 3B40 F642 move.w [A5 - 0x9BE], D0
label00000E58:
00000E58 C0ED F664 mulu.w D0, [A5 - 0x99C]
00000E5C 5440 addq.w D0, 2
00000E5E 3B40 FC80 move.w [A5 - 0x380], D0
label00000E62:
00000E62 2F2D FC7E move.l -[A7], [A5 - 0x382]
00000E66 A893 syscall MoveTo
00000E68 4ED2 jmp [A2]
00000E6A 086D 0000 F604 bchg.b [A5 - 0x9FC], 0x0
00000E70 206D F602 movea.l A0, [A5 - 0x9FE]
00000E74 4A2D FDEE tst.b [A5 - 0x212]
00000E78 6704 beq +0x6 /* 00000E7E */
00000E7A 7407 moveq.l D2, 0x07
00000E7C 6004 bra +0x6 /* 00000E82 */
label00000E7E:
00000E7E 7403 moveq.l D2, 0x03
00000E80 4840 swap.w D0
label00000E82:
00000E82 2F08 move.l -[A7], A0
00000E84 1082 move.b [A0], D2
00000E86 5218 addq.b [A0]+, 1
label00000E88:
00000E88 7200 moveq.l D1, 0x00
00000E8A E998 rol D0, 4
00000E8C 1200 move.b D1, D0
00000E8E 0201 000F andi.b D1, 0xF
00000E92 0601 0030 addi.b D1, 0x30 /* '0' */
00000E96 0C01 003A cmpi.b D1, 0x3A /* ':' */
00000E9A 6502 bcs +0x4 /* 00000E9E */
00000E9C 5E01 addq.b D1, 7
label00000E9E:
00000E9E 10C1 move.b [A0]+, D1
00000EA0 51CA FFE6 dbf D2, -0x1C /* 00000E88 */
00000EA4 205F movea.l A0, [A7]+
00000EA6 4E75 rts
00000EA8 086D 0000 F604 bchg.b [A5 - 0x9FC], 0x0
00000EAE 206D F602 movea.l A0, [A5 - 0x9FE]
00000EB2 4A2D FDEE tst.b [A5 - 0x212]
00000EB6 6706 beq +0x8 /* 00000EBE */
00000EB8 740A moveq.l D2, 0x0A
00000EBA E598 rol D0, 2
00000EBC 6008 bra +0xA /* 00000EC6 */
label00000EBE:
00000EBE 7405 moveq.l D2, 0x05
00000EC0 4840 swap.w D0
00000EC2 4240 clr.w D0
00000EC4 E398 rol D0, 1
label00000EC6:
00000EC6 2F08 move.l -[A7], A0
00000EC8 1082 move.b [A0], D2
00000ECA 5218 addq.b [A0]+, 1
label00000ECC:
00000ECC 1200 move.b D1, D0
00000ECE 0201 0007 andi.b D1, 0x7
00000ED2 0001 0030 ori.b D1, 0x30 /* '0' */
00000ED6 10C1 move.b [A0]+, D1
00000ED8 E798 rol D0, 3
00000EDA 51CA FFF0 dbf D2, -0x12 /* 00000ECC */
00000EDE 205F movea.l A0, [A7]+
00000EE0 4E75 rts
00000EE2 086D 0000 F604 bchg.b [A5 - 0x9FC], 0x0
00000EE8 206D F602 movea.l A0, [A5 - 0x9FE]
00000EEC 4A2D FDEE tst.b [A5 - 0x212]
00000EF0 6704 beq +0x6 /* 00000EF6 */
00000EF2 741F moveq.l D2, 0x1F
00000EF4 6004 bra +0x6 /* 00000EFA */
label00000EF6:
00000EF6 740F moveq.l D2, 0x0F
00000EF8 4840 swap.w D0
label00000EFA:
00000EFA 2F08 move.l -[A7], A0
00000EFC 1082 move.b [A0], D2
00000EFE 5218 addq.b [A0]+, 1
label00000F00:
00000F00 7200 moveq.l D1, 0x00
00000F02 D080 add.l D0, D0
00000F04 E311 roxl D1.b, 1
00000F06 0001 0030 ori.b D1, 0x30 /* '0' */
00000F0A 10C1 move.b [A0]+, D1
00000F0C 51CA FFF2 dbf D2, -0x10 /* 00000F00 */
00000F10 205F movea.l A0, [A7]+
00000F12 4E75 rts
fn00000F14:
00000F14 086D 0000 F604 bchg.b [A5 - 0x9FC], 0x0
00000F1A 2038 020C move.l D0, [0x0000020C /* Time */]
00000F1E 41ED FD34 lea.l A0, [A5 - 0x2CC]
00000F22 A9C6 syscall SecondsToDate/Secs2Date
00000F24 4E75 rts
00000F26 61EC bsr -0x12 /* 00000F14 */
00000F28 206D F602 movea.l A0, [A5 - 0x9FE]
00000F2C 10FC 0008 move.b [A0]+, 0x8
00000F30 163C 003A move.b D3, 0x3A /* ':' */
00000F34 7000 moveq.l D0, 0x00
00000F36 302D FD3A move.w D0, [A5 - 0x2C6]
00000F3A 6100 FD82 bsr -0x27C /* 00000CBE */
00000F3E 7000 moveq.l D0, 0x00
00000F40 302D FD3C move.w D0, [A5 - 0x2C4]
00000F44 6100 FD78 bsr -0x286 /* 00000CBE */
00000F48 7000 moveq.l D0, 0x00
00000F4A 302D FD3E move.w D0, [A5 - 0x2C2]
00000F4E 6100 FD78 bsr -0x286 /* 00000CC8 */
00000F52 206D F602 movea.l A0, [A5 - 0x9FE]
00000F56 4E75 rts
00000F58 61BA bsr -0x44 /* 00000F14 */
00000F5A 206D F602 movea.l A0, [A5 - 0x9FE]
00000F5E 10FC 0008 move.b [A0]+, 0x8
00000F62 163C 002F move.b D3, 0x2F /* '/' */
00000F66 7000 moveq.l D0, 0x00
00000F68 302D FD36 move.w D0, [A5 - 0x2CA]
00000F6C 6100 FD50 bsr -0x2AE /* 00000CBE */
00000F70 7000 moveq.l D0, 0x00
00000F72 302D FD38 move.w D0, [A5 - 0x2C8]
00000F76 6100 FD46 bsr -0x2B8 /* 00000CBE */
00000F7A 7000 moveq.l D0, 0x00
00000F7C 302D FD34 move.w D0, [A5 - 0x2CC]
00000F80 0440 076C subi.w D0, 0x76C
00000F84 7264 moveq.l D1, 0x64
00000F86 B041 cmp.w D0, D1
00000F88 6502 bcs +0x4 /* 00000F8C */
00000F8A 9041 sub.w D0, D1
label00000F8C:
00000F8C 6100 FD3A bsr -0x2C4 /* 00000CC8 */
00000F90 206D F602 movea.l A0, [A5 - 0x9FE]
00000F94 4E75 rts
00000F96 2038 020C move.l D0, [0x0000020C /* Time */]
00000F9A 41ED FD34 lea.l A0, [A5 - 0x2CC]
00000F9E A9C6 syscall SecondsToDate/Secs2Date
00000FA0 265F movea.l A3, [A7]+
00000FA2 301F move.w D0, [A7]+
00000FA4 6B04 bmi +0x6 /* 00000FAA */
00000FA6 3B40 FD34 move.w [A5 - 0x2CC], D0
label00000FAA:
00000FAA 301F move.w D0, [A7]+
00000FAC 6B04 bmi +0x6 /* 00000FB2 */
00000FAE 3B40 FD38 move.w [A5 - 0x2C8], D0
label00000FB2:
00000FB2 301F move.w D0, [A7]+
00000FB4 6B2C bmi +0x2E /* 00000FE2 */
00000FB6 3B40 FD36 move.w [A5 - 0x2CA], D0
00000FBA 6026 bra +0x28 /* 00000FE2 */
00000FBC 45ED FD3E lea.l A2, [A5 - 0x2C2]
00000FC0 2038 020C move.l D0, [0x0000020C /* Time */]
00000FC4 41ED FD34 lea.l A0, [A5 - 0x2CC]
00000FC8 A9C6 syscall SecondsToDate/Secs2Date
00000FCA 265F movea.l A3, [A7]+
00000FCC 301F move.w D0, [A7]+
00000FCE 6B02 bmi +0x4 /* 00000FD2 */
00000FD0 3480 move.w [A2], D0
label00000FD2:
00000FD2 558A subq.l A2, 2
00000FD4 301F move.w D0, [A7]+
00000FD6 6B02 bmi +0x4 /* 00000FDA */
00000FD8 3480 move.w [A2], D0
label00000FDA:
00000FDA 558A subq.l A2, 2
00000FDC 301F move.w D0, [A7]+
00000FDE 6B02 bmi +0x4 /* 00000FE2 */
00000FE0 3480 move.w [A2], D0
label00000FE2:
00000FE2 41ED FD34 lea.l A0, [A5 - 0x2CC]
00000FE6 A9C7 syscall DateToSeconds/Date2Secs
00000FE8 A03A syscall SetDateTime
00000FEA 4ED3 jmp [A3]
export_63:
00000FEC 086D 0000 F604 bchg.b [A5 - 0x9FC], 0x0
00000FF2 206D F62E movea.l A0, [A5 - 0x9D2]
00000FF6 7200 moveq.l D1, 0x00
00000FF8 1228 0099 move.b D1, [A0 + 0x99]
00000FFC E949 lsl D1.w, 4
00000FFE 206D F748 movea.l A0, [A5 - 0x8B8]
00001002 41F0 1004 lea.l A0, [A0 + D1.w + 0x4]
label00001006:
00001006 2210 move.l D1, [A0]
00001008 672E beq +0x30 /* 00001038 */
0000100A 2041 movea.l A0, D1
0000100C 2050 movea.l A0, [A0]
0000100E B068 0004 cmp.w D0, [A0 + 0x4]
00001012 66F2 bne -0xC /* 00001006 */
00001014 2468 0008 movea.l A2, [A0 + 0x8]
00001018 2452 movea.l A2, [A2]
0000101A 246A 003E movea.l A2, [A2 + 0x3E]
0000101E 204A movea.l A0, A2
00001020 A025 syscall GetHandleSize
00001022 0C40 00FF cmpi.w D0, 0xFF
00001026 6304 bls +0x6 /* 0000102C */
00001028 303C 00FF move.w D0, 0xFF
label0000102C:
0000102C 2452 movea.l A2, [A2]
0000102E 204A movea.l A0, A2
00001030 226D F602 movea.l A1, [A5 - 0x9FE]
00001034 4EFA 01CC jmp [PC + 0x1CC /* 00001202 */]
label00001038:
00001038 206D F602 movea.l A0, [A5 - 0x9FE]
0000103C 4250 clr.w [A0]
0000103E 4E75 rts
00001040 086D 0000 F604 bchg.b [A5 - 0x9FC], 0x0
00001046 206D F602 movea.l A0, [A5 - 0x9FE]
0000104A 4A2D FDEE tst.b [A5 - 0x212]
0000104E 6708 beq +0xA /* 00001058 */
00001050 10FC 000A move.b [A0]+, 0xA /* '\n' */
00001054 7200 moveq.l D1, 0x00
00001056 600C bra +0xE /* 00001064 */
label00001058:
00001058 10FC 0005 move.b [A0]+, 0x5
0000105C 7205 moveq.l D1, 0x05
0000105E 0280 0000 FFFF andi.l D0, 0xFFFF
label00001064:
00001064 6100 FC68 bsr -0x396 /* 00000CCE */
00001068 206D F602 movea.l A0, [A5 - 0x9FE]
0000106C 4E75 rts
0000106E 086D 0000 F604 bchg.b [A5 - 0x9FC], 0x0
00001074 206D F602 movea.l A0, [A5 - 0x9FE]
00001078 4218 clr.b [A0]+
0000107A 2F08 move.l -[A7], A0
0000107C 4EBA 4BF8 jsr [PC + 0x4BF8 /* 00005C76 */]
00001080 2008 move.l D0, A0
00001082 909F sub.l D0, [A7]+
00001084 206D F602 movea.l A0, [A5 - 0x9FE]
00001088 1080 move.b [A0], D0
0000108A 4E75 rts
fn0000108C:
0000108C 4A18 tst.b [A0]+
0000108E 6602 bne +0x4 /* 00001092 */
00001090 5388 subq.l A0, 1
fn00001092:
00001092 7000 moveq.l D0, 0x00
00001094 1010 move.b D0, [A0]
00001096 4E75 rts
00001098 086D 0000 F604 bchg.b [A5 - 0x9FC], 0x0
0000109E 206D F602 movea.l A0, [A5 - 0x9FE]
000010A2 0280 0000 FFFF andi.l D0, 0xFFFF
000010A8 4EFA 66E2 jmp [PC + 0x66E2 /* 0000778C */]
000010AC 086D 0000 F604 bchg.b [A5 - 0x9FC], 0x0
000010B2 206D F602 movea.l A0, [A5 - 0x9FE]
000010B6 7204 moveq.l D1, 0x04
000010B8 4A2D FDEE tst.b [A5 - 0x212]
000010BC 6604 bne +0x6 /* 000010C2 */
000010BE 7202 moveq.l D1, 0x02
000010C0 4840 swap.w D0
label000010C2:
000010C2 10C1 move.b [A0]+, D1
000010C4 5341 subq.w D1, 1
label000010C6:
000010C6 E198 rol D0, 8
000010C8 10C0 move.b [A0]+, D0
000010CA 51C9 FFFA dbf D1, -0x8 /* 000010C6 */
000010CE 206D F602 movea.l A0, [A5 - 0x9FE]
000010D2 4E75 rts
000010D4 086D 0000 F604 bchg.b [A5 - 0x9FC], 0x0
000010DA 4A2D FDEE tst.b [A5 - 0x212]
000010DE 672A beq +0x2C /* 0000110A */
000010E0 206D F602 movea.l A0, [A5 - 0x9FE]
000010E4 10AD FDA3 move.b [A0], [A5 - 0x25D]
000010E8 5210 addq.b [A0], 1
000010EA 5488 addq.l A0, 2
000010EC 4EBA 4ECE jsr [PC + 0x4ECE /* 00005FBC */]
000010F0 206D F602 movea.l A0, [A5 - 0x9FE]
000010F4 5288 addq.l A0, 1
000010F6 2248 movea.l A1, A0
000010F8 5289 addq.l A1, 1
000010FA 302D FDA2 move.w D0, [A5 - 0x25E]
label000010FE:
000010FE 10D9 move.b [A0]+, [A1]+
00001100 51C8 FFFC dbf D0, -0x6 /* 000010FE */
00001104 206D F602 movea.l A0, [A5 - 0x9FE]
00001108 4E75 rts
label0000110A:
0000110A 206D F602 movea.l A0, [A5 - 0x9FE]
0000110E 10ED FDA5 move.b [A0]+, [A5 - 0x25B]
00001112 5228 FFFF addq.b [A0 - 0x1], 1
00001116 4EBA 4E0A jsr [PC + 0x4E0A /* 00005F22 */]
0000111A 206D F602 movea.l A0, [A5 - 0x9FE]
0000111E 4E75 rts
export_51:
00001120 086D 0000 F604 bchg.b [A5 - 0x9FC], 0x0
00001126 4EBA 16C4 jsr [PC + 0x16C4 /* 000027EC */]
0000112A 206D F602 movea.l A0, [A5 - 0x9FE]
0000112E 660E bne +0x10 /* 0000113E */
00001130 4250 clr.w [A0]
00001132 4E75 rts
00001134 086D 0000 F604 bchg.b [A5 - 0x9FC], 0x0
0000113A 206D F602 movea.l A0, [A5 - 0x9FE]
label0000113E:
0000113E 10BC 0001 move.b [A0], 0x1
00001142 1140 0001 move.b [A0 + 0x1], D0
00001146 4E75 rts
00001148 2200 move.l D1, D0
0000114A 103C 0020 move.b D0, 0x20 /* ' ' */
0000114E 6004 bra +0x6 /* 00001154 */
00001150 6100 FF3A bsr -0xC4 /* 0000108C */
label00001154:
00001154 086D 0000 F604 bchg.b [A5 - 0x9FC], 0x0
0000115A 206D F602 movea.l A0, [A5 - 0x9FE]
0000115E 2248 movea.l A1, A0
00001160 12C1 move.b [A1]+, D1
00001162 0241 00FF andi.w D1, 0xFF
00001166 6708 beq +0xA /* 00001170 */
00001168 5341 subq.w D1, 1
label0000116A:
0000116A 12C0 move.b [A1]+, D0
0000116C 51C9 FFFC dbf D1, -0x6 /* 0000116A */
label00001170:
00001170 4E75 rts
00001172 43ED F87E lea.l A1, [A5 - 0x782]
00001176 4A81 tst.l D1
00001178 672A beq +0x2C /* 000011A4 */
0000117A 4A80 tst.l D0
0000117C 6726 beq +0x28 /* 000011A4 */
0000117E 7600 moveq.l D3, 0x00
00001180 1610 move.b D3, [A0]
00001182 9640 sub.w D3, D0
00001184 D0C0 add.w A0, D0
00001186 B641 cmp.w D3, D1
00001188 6D04 blt +0x6 /* 0000118E */
0000118A 5341 subq.w D1, 1
0000118C 3601 move.w D3, D1
label0000118E:
0000118E 7200 moveq.l D1, 0x00
00001190 1219 move.b D1, [A1]+
00001192 B641 cmp.w D3, D1
00001194 6D04 blt +0x6 /* 0000119A */
00001196 5341 subq.w D1, 1
00001198 3601 move.w D3, D1
label0000119A:
0000119A 4A43 tst.w D3
0000119C 6B06 bmi +0x8 /* 000011A4 */
label0000119E:
0000119E 10D9 move.b [A0]+, [A1]+
000011A0 51CB FFFC dbf D3, -0x6 /* 0000119E */
label000011A4:
000011A4 426D F87E clr.w [A5 - 0x782]
000011A8 4E75 rts
export_48:
000011AA 086D 0000 F604 bchg.b [A5 - 0x9FC], 0x0
000011B0 226D F602 movea.l A1, [A5 - 0x9FE]
000011B4 4211 clr.b [A1]
000011B6 4A00 tst.b D0
000011B8 6756 beq +0x58 /* 00001210 */
000011BA 4A41 tst.w D1
000011BC 6602 bne +0x4 /* 000011C0 */
000011BE 7201 moveq.l D1, 0x01
label000011C0:
000011C0 7600 moveq.l D3, 0x00
000011C2 1610 move.b D3, [A0]
000011C4 674A beq +0x4C /* 00001210 */
000011C6 D0C1 add.w A0, D1
000011C8 9641 sub.w D3, D1
000011CA 6544 bcs +0x46 /* 00001210 */
000011CC 5243 addq.w D3, 1
000011CE B043 cmp.w D0, D3
000011D0 6330 bls +0x32 /* 00001202 */
000011D2 3003 move.w D0, D3
000011D4 602C bra +0x2E /* 00001202 */
000011D6 086D 0000 F604 bchg.b [A5 - 0x9FC], 0x0
000011DC 226D F602 movea.l A1, [A5 - 0x9FE]
000011E0 7200 moveq.l D1, 0x00
000011E2 1218 move.b D1, [A0]+
000011E4 9200 sub.b D1, D0
000011E6 6404 bcc +0x6 /* 000011EC */
000011E8 D001 add.b D0, D1
000011EA 7200 moveq.l D1, 0x00
label000011EC:
000011EC D0C1 add.w A0, D1
000011EE 6012 bra +0x14 /* 00001202 */
000011F0 086D 0000 F604 bchg.b [A5 - 0x9FC], 0x0
000011F6 226D F602 movea.l A1, [A5 - 0x9FE]
000011FA B018 cmp.b D0, [A0]+
000011FC 6304 bls +0x6 /* 00001202 */
000011FE 1028 FFFF move.b D0, [A0 - 0x1]
label00001202:
00001202 0240 00FF andi.w D0, 0xFF
00001206 12C0 move.b [A1]+, D0
00001208 6002 bra +0x4 /* 0000120C */
label0000120A:
0000120A 12D8 move.b [A1]+, [A0]+
label0000120C:
0000120C 51C8 FFFC dbf D0, -0x6 /* 0000120A */
label00001210:
00001210 206D F602 movea.l A0, [A5 - 0x9FE]
00001214 4E75 rts
00001216 086D 0000 F604 bchg.b [A5 - 0x9FC], 0x0
0000121C 226D F602 movea.l A1, [A5 - 0x9FE]
00001220 7600 moveq.l D3, 0x00
00001222 1618 move.b D3, [A0]+
00001224 12C3 move.b [A1]+, D3
00001226 671A beq +0x1C /* 00001242 */
00001228 7261 moveq.l D1, 0x61
0000122A 747A moveq.l D2, 0x7A
0000122C 5343 subq.w D3, 1
label0000122E:
0000122E 1018 move.b D0, [A0]+
00001230 B001 cmp.b D0, D1
00001232 6508 bcs +0xA /* 0000123C */
00001234 B002 cmp.b D0, D2
00001236 6204 bhi +0x6 /* 0000123C */
00001238 0200 005F andi.b D0, 0x5F /* '_' */
label0000123C:
0000123C 12C0 move.b [A1]+, D0
0000123E 51CB FFEE dbf D3, -0x14 /* 0000122E */
label00001242:
00001242 206D F602 movea.l A0, [A5 - 0x9FE]
00001246 4E75 rts
00001248 C149 exg A0, A1
0000124A 6104 bsr +0x6 /* 00001250 */
0000124C 655E bcs +0x60 /* 000012AC */
0000124E 605E bra +0x60 /* 000012AE */
fn00001250:
00001250 1218 move.b D1, [A0]+
00001252 1419 move.b D2, [A1]+
00001254 7000 moveq.l D0, 0x00
00001256 7600 moveq.l D3, 0x00
00001258 1601 move.b D3, D1
0000125A B401 cmp.b D2, D1
0000125C 6402 bcc +0x4 /* 00001260 */
0000125E 1602 move.b D3, D2
label00001260:
00001260 7C61 moveq.l D6, 0x61
00001262 7E7A moveq.l D7, 0x7A
00001264 5343 subq.w D3, 1
00001266 6B24 bmi +0x26 /* 0000128C */
label00001268:
00001268 1819 move.b D4, [A1]+
0000126A B806 cmp.b D4, D6
0000126C 6508 bcs +0xA /* 00001276 */
0000126E B807 cmp.b D4, D7
00001270 6204 bhi +0x6 /* 00001276 */
00001272 0204 005F andi.b D4, 0x5F /* '_' */
label00001276:
00001276 1A18 move.b D5, [A0]+
00001278 BA06 cmp.b D5, D6
0000127A 6508 bcs +0xA /* 00001284 */
0000127C BA07 cmp.b D5, D7
0000127E 6204 bhi +0x6 /* 00001284 */
00001280 0205 005F andi.b D5, 0x5F /* '_' */
label00001284:
00001284 B805 cmp.b D4, D5
00001286 56CB FFE0 dbne D3, -0x22 /* 00001268 */
0000128A 6602 bne +0x4 /* 0000128E */
label0000128C:
0000128C B401 cmp.b D2, D1
label0000128E:
0000128E 4E75 rts
00001290 C149 exg A0, A1
00001292 6122 bsr +0x24 /* 000012B6 */
00001294 6516 bcs +0x18 /* 000012AC */
00001296 6016 bra +0x18 /* 000012AE */
export_49:
00001298 611C bsr +0x1E /* 000012B6 */
0000129A 6710 beq +0x12 /* 000012AC */
0000129C 6010 bra +0x12 /* 000012AE */
0000129E C149 exg A0, A1
000012A0 6114 bsr +0x16 /* 000012B6 */
000012A2 6408 bcc +0xA /* 000012AC */
000012A4 6008 bra +0xA /* 000012AE */
000012A6 4EBA 000E jsr [PC + 0xE /* 000012B6 */]
000012AA 6702 beq +0x4 /* 000012AE */
label000012AC:
000012AC 70FF moveq.l D0, 0xFFFFFFFF
label000012AE:
000012AE 426D F87E clr.w [A5 - 0x782]
000012B2 4A80 tst.l D0
000012B4 4E75 rts
fn000012B6:
000012B6 1218 move.b D1, [A0]+
000012B8 1419 move.b D2, [A1]+
000012BA 7000 moveq.l D0, 0x00
000012BC 7600 moveq.l D3, 0x00
000012BE 1601 move.b D3, D1
000012C0 B401 cmp.b D2, D1
000012C2 6402 bcc +0x4 /* 000012C6 */
000012C4 1602 move.b D3, D2
label000012C6:
000012C6 5343 subq.w D3, 1
000012C8 6B08 bmi +0xA /* 000012D2 */
label000012CA:
000012CA B308 cmpm.b [A1]+, [A0]+
000012CC 56CB FFFC dbne D3, -0x6 /* 000012CA */
000012D0 6602 bne +0x4 /* 000012D4 */
label000012D2:
000012D2 B401 cmp.b D2, D1
label000012D4:
000012D4 4E75 rts
export_44:
000012D6 7000 moveq.l D0, 0x00
000012D8 1018 move.b D0, [A0]+
000012DA 6718 beq +0x1A /* 000012F4 */
000012DC 3600 move.w D3, D0
000012DE 43ED F87E lea.l A1, [A5 - 0x782]
000012E2 D011 add.b D0, [A1]
000012E4 650E bcs +0x10 /* 000012F4 */
000012E6 1011 move.b D0, [A1]
000012E8 D719 add.b [A1]+, D3
000012EA D3C0 add.l A1, D0
000012EC 5343 subq.w D3, 1
label000012EE:
000012EE 12D8 move.b [A1]+, [A0]+
000012F0 51CB FFFC dbf D3, -0x6 /* 000012EE */
label000012F4:
000012F4 4E75 rts
000012F6 B22D F87E cmp.b D1, [A5 - 0x782]
000012FA 6406 bcc +0x8 /* 00001302 */
000012FC 7204 moveq.l D1, 0x04
000012FE 6000 F5BE bra -0xA40 /* 000008BE */
export_45:
label00001302:
00001302 43ED F87E lea.l A1, [A5 - 0x782]
00001306 7000 moveq.l D0, 0x00
00001308 1011 move.b D0, [A1]
label0000130A:
0000130A 10D9 move.b [A0]+, [A1]+
0000130C 51C8 FFFC dbf D0, -0x6 /* 0000130A */
label00001310:
00001310 426D F87E clr.w [A5 - 0x782]
00001314 4E75 rts
fn00001316:
00001316 41ED F87E lea.l A0, [A5 - 0x782]
export_41:
fn0000131A:
0000131A 1010 move.b D0, [A0]
0000131C 67F2 beq -0xC /* 00001310 */
0000131E 5300 subq.b D0, 1
00001320 6744 beq +0x46 /* 00001366 */
00001322 48E7 0060 movem.l -[A7], A1,A2
00001326 6176 bsr +0x78 /* 0000139E */
00001328 6524 bcs +0x26 /* 0000134E */
0000132A 6710 beq +0x12 /* 0000133C */
0000132C 614C bsr +0x4E /* 0000137A */
0000132E 6E32 bgt +0x34 /* 00001362 */
00001330 7000 moveq.l D0, 0x00
00001332 1010 move.b D0, [A0]
00001334 D051 add.w D0, [A1]
00001336 B052 cmp.w D0, [A2]
00001338 6428 bcc +0x2A /* 00001362 */
0000133A 6006 bra +0x8 /* 00001342 */
label0000133C:
0000133C 7000 moveq.l D0, 0x00
0000133E 1010 move.b D0, [A0]
00001340 D051 add.w D0, [A1]
label00001342:
00001342 3280 move.w [A1], D0
00001344 4850 pea.l [A0]
00001346 A884 syscall DrawString
label00001348:
00001348 4CDF 0600 movem.l A1,A2, [A7]+
0000134C 60C2 bra -0x3C /* 00001310 */
label0000134E:
0000134E 4A2D F64B tst.b [A5 - 0x9B5]
00001352 6B0E bmi +0x10 /* 00001362 */
00001354 7000 moveq.l D0, 0x00
00001356 1018 move.b D0, [A0]+
00001358 D16D F646 add.w [A5 - 0x9BA], D0
0000135C 4EBA 73E2 jsr [PC + 0x73E2 /* 00008740 */]
00001360 60E6 bra -0x18 /* 00001348 */
label00001362:
00001362 4CDF 0600 movem.l A1,A2, [A7]+
label00001366:
00001366 7600 moveq.l D3, 0x00
00001368 1618 move.b D3, [A0]+
0000136A 67A4 beq -0x5A /* 00001310 */
fn0000136C:
0000136C 5343 subq.w D3, 1
label0000136E:
0000136E 1018 move.b D0, [A0]+
00001370 4EBA 1084 jsr [PC + 0x1084 /* 000023F6 */]
00001374 51CB FFF8 dbf D3, -0xA /* 0000136E */
00001378 6096 bra -0x68 /* 00001310 */
fn0000137A:
0000137A 48E7 00F0 movem.l -[A7], A0,A1,A2,A3
0000137E 558F subq.l A7, 2
00001380 4850 pea.l [A0]
00001382 A88C syscall StringWidth
00001384 47ED FC7E lea.l A3, [A5 - 0x382]
00001388 4853 pea.l [A3]
0000138A A89A syscall GetPen
0000138C 301F move.w D0, [A7]+
0000138E 548B addq.l A3, 2
00001390 D153 add.w [A3], D0
00001392 3013 move.w D0, [A3]
00001394 B06D F67E cmp.w D0, [A5 - 0x982]
00001398 4CDF 0F00 movem.l A0,A1,A2,A3, [A7]+
0000139C 4E75 rts
fn0000139E:
0000139E 102D F64B move.b D0, [A5 - 0x9B5]
000013A2 6710 beq +0x12 /* 000013B4 */
000013A4 0240 007F andi.w D0, 0x7F
000013A8 661C bne +0x1E /* 000013C6 */
000013AA 43ED F642 lea.l A1, [A5 - 0x9BE]
000013AE 45ED F63A lea.l A2, [A5 - 0x9C6]
000013B2 6008 bra +0xA /* 000013BC */
label000013B4:
000013B4 43ED F644 lea.l A1, [A5 - 0x9BC]
000013B8 45ED F63C lea.l A2, [A5 - 0x9C4]
label000013BC:
000013BC 0C52 FFFE cmpi.w [A2], 0xFFFE
000013C0 023C 00FE andi.b ccr, 254
000013C4 4E75 rts
label000013C6:
000013C6 003C 0001 ori.b ccr, 1
000013CA 4E75 rts
fn000013CC:
000013CC 2401 move.l D2, D1
000013CE 2F08 move.l -[A7], A0
label000013D0:
000013D0 4EBA 13DE jsr [PC + 0x13DE /* 000027B0 */]
000013D4 0C00 007F cmpi.b D0, 0x7F
000013D8 6754 beq +0x56 /* 0000142E */
000013DA 0C00 0082 cmpi.b D0, 0x82
000013DE 676E beq +0x70 /* 0000144E */
000013E0 0C00 00F4 cmpi.b D0, 0xF4
000013E4 6762 beq +0x64 /* 00001448 */
000013E6 0C00 0020 cmpi.b D0, 0x20 /* ' ' */
000013EA 6412 bcc +0x14 /* 000013FE */
000013EC 0C00 000D cmpi.b D0, 0xD /* '\r' */
000013F0 6760 beq +0x62 /* 00001452 */
000013F2 0C00 0008 cmpi.b D0, 0x8
000013F6 6736 beq +0x38 /* 0000142E */
000013F8 0C00 0003 cmpi.b D0, 0x3
000013FC 6754 beq +0x56 /* 00001452 */
label000013FE:
000013FE 4A41 tst.w D1
00001400 6614 bne +0x16 /* 00001416 */
00001402 6102 bsr +0x4 /* 00001406 */
00001404 60CA bra -0x34 /* 000013D0 */
fn00001406:
00001406 48E7 E0C0 movem.l -[A7], D0,D1,D2,A0,A1
0000140A 3F3C 0003 move.w -[A7], 0x3
0000140E A9C8 syscall SysBeep
00001410 4CDF 0307 movem.l D0,D1,D2,A0,A1, [A7]+
00001414 4E75 rts
label00001416:
00001416 10C0 move.b [A0]+, D0
00001418 4EBA 0FDC jsr [PC + 0xFDC /* 000023F6 */]
0000141C 5341 subq.w D1, 1
0000141E 66B0 bne -0x4E /* 000013D0 */
00001420 082D 0001 FD26 btst.b [A5 - 0x2DA], 0x1
00001426 67A8 beq -0x56 /* 000013D0 */
00001428 023C 00FE andi.b ccr, 254
0000142C 6024 bra +0x26 /* 00001452 */
label0000142E:
0000142E 6102 bsr +0x4 /* 00001432 */
00001430 609E bra -0x60 /* 000013D0 */
fn00001432:
00001432 B441 cmp.w D2, D1
00001434 6710 beq +0x12 /* 00001446 */
00001436 48E7 E0E0 movem.l -[A7], D0,D1,D2,A0,A1,A2
0000143A 4EBA 1312 jsr [PC + 0x1312 /* 0000274E */]
0000143E 4CDF 0707 movem.l D0,D1,D2,A0,A1,A2, [A7]+
00001442 5388 subq.l A0, 1
00001444 5241 addq.w D1, 1
label00001446:
00001446 4E75 rts
label00001448:
00001448 61E8 bsr -0x16 /* 00001432 */
0000144A 6784 beq -0x7A /* 000013D0 */
0000144C 60FA bra -0x4 /* 00001448 */
label0000144E:
0000144E 003C 0001 ori.b ccr, 1
label00001452:
00001452 40E7 move.w -[A7], SR
00001454 10FC 0000 move.b [A0]+, 0x0
00001458 082D 0000 FD26 btst.b [A5 - 0x2DA], 0x0
0000145E 6604 bne +0x6 /* 00001464 */
00001460 4EBA 0F80 jsr [PC + 0xF80 /* 000023E2 */]
label00001464:
00001464 9441 sub.w D2, D1
00001466 2202 move.l D1, D2
00001468 44DF move.b [A7]+, CCR
0000146A 205F movea.l A0, [A7]+
0000146C 4E75 rts
0000146E 205F movea.l A0, [A7]+
00001470 610E bsr +0x10 /* 00001480 */
00001472 588F addq.l A7, 4
00001474 4EF0 0000 jmp [A0 + D0.w]
00001478 205F movea.l A0, [A7]+
0000147A 6104 bsr +0x6 /* 00001480 */
0000147C 4EF0 0000 jmp [A0 + D0.w]
fn00001480:
00001480 7200 moveq.l D1, 0x00
00001482 3218 move.w D1, [A0]+
00001484 5380 subq.l D0, 1
00001486 B081 cmp.l D0, D1
00001488 6502 bcs +0x4 /* 0000148C */
0000148A 588F addq.l A7, 4
label0000148C:
0000148C E548 lsl D0.w, 2
0000148E 4E75 rts
export_47:
00001490 4A40 tst.w D0
00001492 6702 beq +0x4 /* 00001496 */
00001494 5340 subq.w D0, 1
label00001496:
00001496 7800 moveq.l D4, 0x00
00001498 1819 move.b D4, [A1]+
0000149A 2F09 move.l -[A7], A1
0000149C 7400 moveq.l D2, 0x00
0000149E 1410 move.b D2, [A0]
000014A0 9842 sub.w D4, D2
000014A2 6B22 bmi +0x24 /* 000014C6 */
000014A4 9840 sub.w D4, D0
000014A6 6B1E bmi +0x20 /* 000014C6 */
000014A8 D3C0 add.l A1, D0
000014AA 1418 move.b D2, [A0]+
000014AC 5342 subq.w D2, 1
000014AE 2009 move.l D0, A1
000014B0 2208 move.l D1, A0
label000014B2:
000014B2 2041 movea.l A0, D1
000014B4 2240 movea.l A1, D0
000014B6 5280 addq.l D0, 1
000014B8 3602 move.w D3, D2
label000014BA:
000014BA B308 cmpm.b [A1]+, [A0]+
000014BC 56CB FFFC dbne D3, -0x6 /* 000014BA */
000014C0 57CC FFF0 dbeq D4, -0x12 /* 000014B2 */
000014C4 6702 beq +0x4 /* 000014C8 */
label000014C6:
000014C6 2017 move.l D0, [A7]
label000014C8:
000014C8 909F sub.l D0, [A7]+
000014CA 4E75 rts
000014CC 4EED 00AA jmp [A5 + 0xAA /* export_17 */]
000014D0 4EED 007A jmp [A5 + 0x7A /* export_11 */]
000014D4 4EED 0082 jmp [A5 + 0x82 /* export_12 */]
000014D8 4EED 009A jmp [A5 + 0x9A /* export_15 */]
000014DC 4EED 00A2 jmp [A5 + 0xA2 /* export_16 */]
000014E0 4EED 0092 jmp [A5 + 0x92 /* export_14 */]
000014E4 4EED 0072 jmp [A5 + 0x72 /* export_10 */]
000014E8 4EED 008A jmp [A5 + 0x8A /* export_13 */]
000014EC 265F movea.l A3, [A7]+
000014EE 206D F4AA movea.l A0, [A5 - 0xB56]
000014F2 42A7 clr.l -[A7]
000014F4 362D F64E move.w D3, [A5 - 0x9B2]
000014F8 660C bne +0xE /* 00001506 */
000014FA 2F3C 4443 4F44 move.l -[A7], 0x44434F44 /* 'DCOD' */
00001500 2F08 move.l -[A7], A0
00001502 A9A1 syscall GetNamedResource
00001504 600A bra +0xC /* 00001510 */
label00001506:
00001506 4EBA 52A4 jsr [PC + 0x52A4 /* 000067AC */]
0000150A 2F00 move.l -[A7], D0
0000150C 3F03 move.w -[A7], D3
0000150E A9A0 syscall GetResource
label00001510:
00001510 261F move.l D3, [A7]+
00001512 6712 beq +0x14 /* 00001526 */
00001514 2043 movea.l A0, D3
00001516 A029 syscall HLock
00001518 2050 movea.l A0, [A0]
0000151A 4E90 jsr [A0]
0000151C 4A40 tst.w D0
0000151E 6704 beq +0x6 /* 00001524 */
00001520 2043 movea.l A0, D3
00001522 A02A syscall HUnlock
label00001524:
00001524 4ED3 jmp [A3]
label00001526:
00001526 7206 moveq.l D1, 0x06
00001528 6000 F38E bra -0xC70 /* 000008B8 */
fn0000152C:
0000152C 303C 00C3 move.w D0, 0xC3
00001530 6010 bra +0x12 /* 00001542 */
fn00001532:
00001532 303C 00C2 move.w D0, 0xC2
00001536 600A bra +0xC /* 00001542 */
00001538 303C 00C1 move.w D0, 0xC1
0000153C 6004 bra +0x6 /* 00001542 */
0000153E 303C 00C0 move.w D0, 0xC0
label00001542:
00001542 610C bsr +0xE /* 00001550 */
00001544 43ED FA7E lea.l A1, [A5 - 0x582]
00001548 A02E syscall BlockMove/BlockMoveData
0000154A 4E75 rts
0000154C 727F moveq.l D1, 0x7F
0000154E C141 exg D0, D1
fn00001550:
00001550 2F01 move.l -[A7], D1
00001552 3F01 move.w -[A7], D1
00001554 42A7 clr.l -[A7]
00001556 2F3C 5354 5223 move.l -[A7], 0x53545223 /* 'STR#' */
0000155C 3F00 move.w -[A7], D0
0000155E A9A0 syscall GetResource
00001560 205F movea.l A0, [A7]+
00001562 321F move.w D1, [A7]+
00001564 2008 move.l D0, A0
00001566 6714 beq +0x16 /* 0000157C */
00001568 7000 moveq.l D0, 0x00
0000156A 2050 movea.l A0, [A0]
0000156C B258 cmp.w D1, [A0]+
0000156E 6E0C bgt +0xE /* 0000157C */
label00001570:
00001570 D0C0 add.w A0, D0
00001572 1018 move.b D0, [A0]+
00001574 5341 subq.w D1, 1
00001576 66F8 bne -0x6 /* 00001570 */
00001578 5388 subq.l A0, 1
0000157A 6004 bra +0x6 /* 00001580 */
label0000157C:
0000157C 41FA 0012 lea.l A0, [PC + 0x12 /* 00001590, value 0x50ED */]
label00001580:
00001580 221F move.l D1, [A7]+
00001582 5280 addq.l D0, 1
00001584 4E75 rts
fn00001586:
00001586 4EFA 6F1A jmp [PC + 0x6F1A /* 000084A2 */]
0000158A 0114 btst [A4], D0
0000158C 023F 2000 andi.b <<invalid special address>>, 0x0
00001590 0000 50ED ori.b D0, 0xED
export_65: // at 00001592 (misaligned)
00001594 F538 .extension 0x538 // unimplemented
00001596 2B6D F678 F566 move.l [A5 - 0xA9A], [A5 - 0x988]
0000159C 2B6D F67C F56A move.l [A5 - 0xA96], [A5 - 0x984]
000015A2 4E75 rts
000015A4 2F0C move.l -[A7], A4
000015A6 286D F62E movea.l A4, [A5 - 0x9D2]
000015AA 2B6C 0030 F610 move.l [A5 - 0x9F0], [A4 + 0x30]
000015B0 2B6C 0034 F614 move.l [A5 - 0x9EC], [A4 + 0x34]
000015B6 2978 0A02 0034 move.l [A4 + 0x34], [0x00000A02 /* OneOne */]
000015BC 3B41 FC80 move.w [A5 - 0x380], D1
000015C0 3B40 FC7E move.w [A5 - 0x382], D0
000015C4 486D FC7E pea.l [A5 - 0x382]
000015C8 486D F566 pea.l [A5 - 0xA9A]
000015CC 486D F678 pea.l [A5 - 0x988]
000015D0 A8F9 syscall MapPt
000015D2 558F subq.l A7, 2
000015D4 2F2D FC7E move.l -[A7], [A5 - 0x382]
000015D8 2F2C 0018 move.l -[A7], [A4 + 0x18]
000015DC A8E8 syscall PtInRgn
000015DE 4A1F tst.b [A7]+
000015E0 6610 bne +0x12 /* 000015F2 */
000015E2 296D F610 0030 move.l [A4 + 0x30], [A5 - 0x9F0]
000015E8 296D F614 0034 move.l [A4 + 0x34], [A5 - 0x9EC]
000015EE 285F movea.l A4, [A7]+
000015F0 4E75 rts
label000015F2:
000015F2 303C A865 move.w D0, 0xA865
000015F6 A146 syscall GetTrapAddress, flags=1
000015F8 2648 movea.l A3, A0
000015FA 303C A8E8 move.w D0, 0xA8E8
000015FE A146 syscall GetTrapAddress, flags=1
00001600 2448 movea.l A2, A0
00001602 558F subq.l A7, 2
00001604 2F2D FC7E move.l -[A7], [A5 - 0x382]
00001608 4E93 jsr [A3]
0000160A 1B5F F58C move.b [A5 - 0xA74], [A7]+
0000160E 3E2D FC7E move.w D7, [A5 - 0x382]
00001612 3C2D FC80 move.w D6, [A5 - 0x380]
00001616 A852 syscall HideCursor
label00001618:
00001618 5347 subq.w D7, 1
0000161A 4EBA 007A jsr [PC + 0x7A /* 00001696 */]
0000161E 67F8 beq -0x6 /* 00001618 */
00001620 5247 addq.w D7, 1
00001622 5246 addq.w D6, 1
00001624 4EBA 0070 jsr [PC + 0x70 /* 00001696 */]
00001628 67EE beq -0x10 /* 00001618 */
0000162A 5346 subq.w D6, 1
label0000162C:
0000162C 5347 subq.w D7, 1
0000162E 4EBA 0066 jsr [PC + 0x66 /* 00001696 */]
00001632 67F8 beq -0x6 /* 0000162C */
00001634 5247 addq.w D7, 1
00001636 5346 subq.w D6, 1
00001638 4EBA 005C jsr [PC + 0x5C /* 00001696 */]
0000163C 67EE beq -0x10 /* 0000162C */
0000163E 5246 addq.w D6, 1
label00001640:
00001640 3806 move.w D4, D6
00001642 7A01 moveq.l D5, 0x01
label00001644:
00001644 4EBA 0050 jsr [PC + 0x50 /* 00001696 */]
00001648 6606 bne +0x8 /* 00001650 */
0000164A 5246 addq.w D6, 1
0000164C 5245 addq.w D5, 1
0000164E 60F4 bra -0xA /* 00001644 */
label00001650:
00001650 5346 subq.w D6, 1
00001652 5345 subq.w D5, 1
00001654 3F04 move.w -[A7], D4
00001656 3F07 move.w -[A7], D7
00001658 A893 syscall MoveTo
0000165A 3F06 move.w -[A7], D6
0000165C 3F07 move.w -[A7], D7
0000165E A891 syscall LineTo
00001660 3C04 move.w D6, D4
00001662 5247 addq.w D7, 1
00001664 6130 bsr +0x32 /* 00001696 */
00001666 660E bne +0x10 /* 00001676 */
00001668 6004 bra +0x6 /* 0000166E */
label0000166A:
0000166A 612A bsr +0x2C /* 00001696 */
0000166C 6604 bne +0x6 /* 00001672 */
label0000166E:
0000166E 5346 subq.w D6, 1
00001670 60F8 bra -0x6 /* 0000166A */
label00001672:
00001672 5246 addq.w D6, 1
00001674 60CA bra -0x34 /* 00001640 */
label00001676:
00001676 5345 subq.w D5, 1
00001678 670A beq +0xC /* 00001684 */
label0000167A:
0000167A 5246 addq.w D6, 1
0000167C 6118 bsr +0x1A /* 00001696 */
0000167E 67C0 beq -0x3E /* 00001640 */
00001680 5345 subq.w D5, 1
00001682 66F6 bne -0x8 /* 0000167A */
label00001684:
00001684 296D F610 0030 move.l [A4 + 0x30], [A5 - 0x9F0]
0000168A 296D F614 0034 move.l [A4 + 0x34], [A5 - 0x9EC]
00001690 285F movea.l A4, [A7]+
00001692 A853 syscall ShowCursor
00001694 4E75 rts
fn00001696:
00001696 558F subq.l A7, 2
00001698 3F06 move.w -[A7], D6
0000169A 3F07 move.w -[A7], D7
0000169C 2F2C 0018 move.l -[A7], [A4 + 0x18]
000016A0 4E92 jsr [A2]
000016A2 4A17 tst.b [A7]
000016A4 670E beq +0x10 /* 000016B4 */
000016A6 3F06 move.w -[A7], D6
000016A8 3F07 move.w -[A7], D7
000016AA 4E93 jsr [A3]
000016AC 101F move.b D0, [A7]+
000016AE B02D F58C cmp.b D0, [A5 - 0xA74]
000016B2 4E75 rts
label000016B4:
000016B4 548F addq.l A7, 2
000016B6 70FF moveq.l D0, 0xFFFFFFFF
000016B8 4E75 rts
000016BA 2B6D F566 F610 move.l [A5 - 0x9F0], [A5 - 0xA9A]
000016C0 2B6D F56A F614 move.l [A5 - 0x9EC], [A5 - 0xA96]
000016C6 265F movea.l A3, [A7]+
000016C8 4A5F tst.w [A7]+
000016CA 6704 beq +0x6 /* 000016D0 */
000016CC 2B5F F614 move.l [A5 - 0x9EC], [A7]+
label000016D0:
000016D0 4A5F tst.w [A7]+
000016D2 6704 beq +0x6 /* 000016D8 */
000016D4 2B5F F610 move.l [A5 - 0x9F0], [A7]+
label000016D8:
000016D8 486D F610 pea.l [A5 - 0x9F0]
000016DC 486D F566 pea.l [A5 - 0xA9A]
000016E0 486D F678 pea.l [A5 - 0x988]
000016E4 A8FA syscall MapRect
000016E6 598F subq.l A7, 4
000016E8 486D F610 pea.l [A5 - 0x9F0]
000016EC A8F3 syscall OpenPicture
000016EE 2B5F F562 move.l [A5 - 0xA9E], [A7]+
000016F2 4ED3 jmp [A3]
000016F4 422D F64C clr.b [A5 - 0x9B4]
000016F8 4A90 tst.l [A0]
000016FA 6610 bne +0x12 /* 0000170C */
000016FC 205F movea.l A0, [A7]+
000016FE 4A5F tst.w [A7]+
00001700 6702 beq +0x4 /* 00001704 */
00001702 588F addq.l A7, 4
label00001704:
00001704 4A5F tst.w [A7]+
00001706 6702 beq +0x4 /* 0000170A */
00001708 588F addq.l A7, 4
label0000170A:
0000170A 4ED0 jmp [A0]
label0000170C:
0000170C 2450 movea.l A2, [A0]
0000170E 265F movea.l A3, [A7]+
00001710 2052 movea.l A0, [A2]
00001712 2B68 0002 F610 move.l [A5 - 0x9F0], [A0 + 0x2]
00001718 2B68 0006 F614 move.l [A5 - 0x9EC], [A0 + 0x6]
0000171E 4A5F tst.w [A7]+
00001720 670E beq +0x10 /* 00001730 */
00001722 08ED 0000 F64C bset.b [A5 - 0x9B4], 0x0
00001728 2B5F F614 move.l [A5 - 0x9EC], [A7]+
0000172C 4EBA 4344 jsr [PC + 0x4344 /* 00005A72 */]
label00001730:
00001730 4A5F tst.w [A7]+
00001732 6734 beq +0x36 /* 00001768 */
00001734 2B5F F610 move.l [A5 - 0x9F0], [A7]+
00001738 4EBA 434E jsr [PC + 0x434E /* 00005A88 */]
0000173C 082D 0000 F64C btst.b [A5 - 0x9B4], 0x0
00001742 6624 bne +0x26 /* 00001768 */
00001744 204A movea.l A0, A2
00001746 2050 movea.l A0, [A0]
00001748 3028 0006 move.w D0, [A0 + 0x6]
0000174C 9068 0002 sub.w D0, [A0 + 0x2]
00001750 D06D F610 add.w D0, [A5 - 0x9F0]
00001754 3B40 F614 move.w [A5 - 0x9EC], D0
00001758 3028 0008 move.w D0, [A0 + 0x8]
0000175C 9068 0004 sub.w D0, [A0 + 0x4]
00001760 D06D F612 add.w D0, [A5 - 0x9EE]
00001764 3B40 F616 move.w [A5 - 0x9EA], D0
label00001768:
00001768 2F0A move.l -[A7], A2
0000176A 486D F610 pea.l [A5 - 0x9F0]
0000176E A8F6 syscall DrawPicture
00001770 4ED3 jmp [A3]
00001772 2F10 move.l -[A7], [A0]
00001774 4290 clr.l [A0]
00001776 A8F5 syscall KillPicture
00001778 4E75 rts
fn0000177A:
0000177A 611A bsr +0x1C /* 00001796 */
0000177C C5ED F67E muls.w D2, [A5 - 0x982]
00001780 3E2D F56C move.w D7, [A5 - 0xA94]
00001784 5247 addq.w D7, 1
00001786 85C7 divs.w D2, D7
00001788 C3ED F67C muls.w D1, [A5 - 0x984]
0000178C 3E2D F56A move.w D7, [A5 - 0xA96]
00001790 5247 addq.w D7, 1
00001792 83C7 divs.w D1, D7
00001794 4E75 rts
fn00001796:
00001796 48E7 E0C0 movem.l -[A7], D0,D1,D2,A0,A1
0000179A 486D F678 pea.l [A5 - 0x988]
0000179E A874 syscall GetPort
000017A0 206D F678 movea.l A0, [A5 - 0x988]
000017A4 2B68 0010 F678 move.l [A5 - 0x988], [A0 + 0x10]
000017AA 2B68 0014 F67C move.l [A5 - 0x984], [A0 + 0x14]
000017B0 4A28 0098 tst.b [A0 + 0x98]
000017B4 6708 beq +0xA /* 000017BE */
000017B6 0C28 0008 0098 cmpi.b [A0 + 0x98], 0x8
000017BC 6608 bne +0xA /* 000017C6 */
label000017BE:
000017BE 04AD 000F 000F F67C subi.l [A5 - 0x984], 0xF000F
label000017C6:
000017C6 4CDF 0307 movem.l D0,D1,D2,A0,A1, [A7]+
000017CA 4E75 rts
000017CC 4A2D F58B tst.b [A5 - 0xA75]
000017D0 6600 00E0 bne +0xE2 /* 000018B2 */
000017D4 4A2D F58A tst.b [A5 - 0xA76]
000017D8 6700 00D8 beq +0xDA /* 000018B2 */
000017DC 619C bsr -0x62 /* 0000177A */
000017DE 3B42 F57A move.w [A5 - 0xA86], D2
000017E2 3B41 F57E move.w [A5 - 0xA82], D1
000017E6 D040 add.w D0, D0
000017E8 3600 move.w D3, D0
000017EA C7ED F576 muls.w D3, [A5 - 0xA8A]
000017EE C1ED F578 muls.w D0, [A5 - 0xA88]
000017F2 E088 lsr D0, 8
000017F4 E08B lsr D3, 8
000017F6 C141 exg D0, D1
000017F8 C742 exg D3, D2
000017FA 6100 FF7E bsr -0x80 /* 0000177A */
000017FE 3B41 F580 move.w [A5 - 0xA80], D1
00001802 3B42 F57C move.w [A5 - 0xA84], D2
00001806 5342 subq.w D2, 1
00001808 3B6D F57A F570 move.w [A5 - 0xA90], [A5 - 0xA86]
0000180E 3B6D F57E F56E move.w [A5 - 0xA92], [A5 - 0xA82]
00001814 3F2D F570 move.w -[A7], [A5 - 0xA90]
00001818 3F2D F56E move.w -[A7], [A5 - 0xA92]
0000181C 3F2D F570 move.w -[A7], [A5 - 0xA90]
00001820 3F2D F56E move.w -[A7], [A5 - 0xA92]
00001824 486D FC7E pea.l [A5 - 0x382]
00001828 A89A syscall GetPen
0000182A A893 syscall MoveTo
0000182C 362D F586 move.w D3, [A5 - 0xA7A]
00001830 382D F588 move.w D4, [A5 - 0xA78]
00001834 45FA 012E lea.l A2, [PC + 0x12E /* 00001964, value 0x60D13 */]
label00001838:
00001838 3003 move.w D0, D3
0000183A 0600 0040 addi.b D0, 0x40 /* '@' */
0000183E 1A00 move.b D5, D0
00001840 0240 007F andi.w D0, 0x7F
00001844 0C00 0041 cmpi.b D0, 0x41 /* 'A' */
00001848 6506 bcs +0x8 /* 00001850 */
0000184A 4400 neg.b D0
0000184C 0200 007F andi.b D0, 0x7F
label00001850:
00001850 1032 0000 move.b D0, [A2 + D0.w]
00001854 C0ED F57C mulu.w D0, [A5 - 0xA84]
00001858 E088 lsr D0, 8
0000185A 4A05 tst.b D5
0000185C 6A02 bpl +0x4 /* 00001860 */
0000185E 4440 neg.w D0
label00001860:
00001860 D06D F57A add.w D0, [A5 - 0xA86]
00001864 3F00 move.w -[A7], D0
00001866 3003 move.w D0, D3
00001868 0A00 0080 xori.b D0, 0x80
0000186C 1A00 move.b D5, D0
0000186E 0240 007F andi.w D0, 0x7F
00001872 0C00 0041 cmpi.b D0, 0x41 /* 'A' */
00001876 6506 bcs +0x8 /* 0000187E */
00001878 4400 neg.b D0
0000187A 0200 007F andi.b D0, 0x7F
label0000187E:
0000187E 1032 0000 move.b D0, [A2 + D0.w]
00001882 C0ED F580 mulu.w D0, [A5 - 0xA80]
00001886 E088 lsr D0, 8
00001888 4A05 tst.b D5
0000188A 6A02 bpl +0x4 /* 0000188E */
0000188C 4440 neg.w D0
label0000188E:
0000188E D06D F57E add.w D0, [A5 - 0xA82]
00001892 3F00 move.w -[A7], D0
00001894 A891 syscall LineTo
00001896 5243 addq.w D3, 1
00001898 51CC FF9E dbf D4, -0x64 /* 00001838 */
0000189C A891 syscall LineTo
0000189E 3F2D FC80 move.w -[A7], [A5 - 0x380]
000018A2 3F2D FC7E move.w -[A7], [A5 - 0x382]
000018A6 A893 syscall MoveTo
label000018A8:
000018A8 42AD F586 clr.l [A5 - 0xA7A]
000018AC 426D F58A clr.w [A5 - 0xA76]
000018B0 4E75 rts
label000018B2:
000018B2 613A bsr +0x3C /* 000018EE */
000018B4 486D F610 pea.l [A5 - 0x9F0]
000018B8 4A2D F58A tst.b [A5 - 0xA76]
000018BC 6604 bne +0x6 /* 000018C2 */
000018BE A8B7 syscall FrameOval
000018C0 4E75 rts
label000018C2:
000018C2 322D F586 move.w D1, [A5 - 0xA7A]
000018C6 302D F588 move.w D0, [A5 - 0xA78]
000018CA 0641 00C0 addi.w D1, 0xC0
000018CE 0241 00FF andi.w D1, 0xFF
000018D2 4401 neg.b D1
000018D4 9240 sub.w D1, D0
000018D6 0241 00FF andi.w D1, 0xFF
000018DA C2FC mulu.w D1, 0xFFFFFFFFFFFFFFFF
000018DC 0168 E089 bchg [A0 - 0x1F77], D0
000018E0 3F01 move.w -[A7], D1
000018E2 C0FC mulu.w D0, 0xFFFFFFFFFFFFFFFF
000018E4 0168 E088 bchg [A0 - 0x1F78], D0
000018E8 3F00 move.w -[A7], D0
000018EA A8BE syscall FrameArc
000018EC 60BA bra -0x44 /* 000018A8 */
fn000018EE:
000018EE 6100 FEA6 bsr -0x158 /* 00001796 */
000018F2 48A7 6000 movem.w -[A7], D1,D2
000018F6 D040 add.w D0, D0
000018F8 3600 move.w D3, D0
000018FA C7ED F576 muls.w D3, [A5 - 0xA8A]
000018FE C1ED F578 muls.w D0, [A5 - 0xA88]
00001902 E088 lsr D0, 8
00001904 E08B lsr D3, 8
00001906 9240 sub.w D1, D0
00001908 9443 sub.w D2, D3
0000190A 3B41 F610 move.w [A5 - 0x9F0], D1
0000190E 3B42 F612 move.w [A5 - 0x9EE], D2
00001912 4C9F 0006 movem.w D1,D2, [A7]+
00001916 D240 add.w D1, D0
00001918 D443 add.w D2, D3
0000191A 3B41 F614 move.w [A5 - 0x9EC], D1
0000191E 3B42 F616 move.w [A5 - 0x9EA], D2
00001922 4EBA 4164 jsr [PC + 0x4164 /* 00005A88 */]
00001926 4EFA 414A jmp [PC + 0x414A /* 00005A72 */]
0000192A 0600 00C0 addi.b D0, 0xC0
fn0000192E:
0000192E 0A00 0080 xori.b D0, 0x80
00001932 1B40 F58D move.b [A5 - 0xA73], D0
00001936 0240 007F andi.w D0, 0x7F
0000193A 0C00 0041 cmpi.b D0, 0x41 /* 'A' */
0000193E 6506 bcs +0x8 /* 00001946 */
00001940 4400 neg.b D0
00001942 0200 007F andi.b D0, 0x7F
label00001946:
00001946 41FA 001C lea.l A0, [PC + 0x1C /* 00001964, value 0x60D13 */]
0000194A 1030 0000 move.b D0, [A0 + D0.w]
0000194E 4E75 rts
00001950 0600 0040 addi.b D0, 0x40 /* '@' */
00001954 0A00 0080 xori.b D0, 0x80
00001958 61D4 bsr -0x2A /* 0000192E */
0000195A 4A2D F58D tst.b [A5 - 0xA73]
0000195E 6A02 bpl +0x4 /* 00001962 */
00001960 4480 neg.l D0
label00001962:
00001962 4E75 rts
00001964 0006 0D13 ori.b D6, 0x13
00001968 191F move.b -[A4], [A7]+
0000196A 252B 3238 move.l -[A2], [A3 + 0x3238]
0000196E 3E44 movea.w A7, D4
00001970 4A50 tst.w [A0]
00001972 565C addq.w [A4]+, 3
00001974 6267 bhi +0x69 /* 000019DD */
00001976 6D73 blt +0x75 /* 000019EB */
00001978 787E moveq.l D4, 0x7E
0000197A 8388 8E93 unpk -[A1], -[A0], 0x8E93
0000197E 989D sub.l D4, [A5]+
00001980 A2A7 syscall vStdExit, flags=2
00001982 ABB0 syscall scIndTab16
00001984 B4B9 BDC1 C5C9 cmp.l D2, [0xBDC1C5C9]
0000198A CDD0 muls.w D6, [A0]
0000198C D4D7 add.w A2, [A7]
0000198E DBDE add.l A5, [A6]+
00001990 E1E4 asl .w -[A4]
00001992 E7E9 EBEE rol .w [A1 - 0x1412]
00001996 F0F2 .extension 0x0F2 // unimplemented
00001998 F4F6 .extension 0x4F6 // unimplemented
0000199A F7F9 .extension 0x7F9 // unimplemented
0000199C FAFB .extension 0xAFB // unimplemented
0000199E FCFD .extension 0xCFD // unimplemented
000019A0 FEFE .extension 0xEFE // unimplemented
000019A2 FFFF .extension 0xFFF // unimplemented
000019A4 FF00 .extension 0xF00 // unimplemented
000019A6 50ED F58B st [A5 - 0xA75]
000019AA 50ED F58A st [A5 - 0xA76]
000019AE 0241 00FF andi.w D1, 0xFF
000019B2 0240 00FF andi.w D0, 0xFF
000019B6 3B41 F586 move.w [A5 - 0xA7A], D1
000019BA 3B40 F588 move.w [A5 - 0xA78], D0
000019BE 4E75 rts
export_60:
000019C0 6100 FF2C bsr -0xD2 /* 000018EE */
000019C4 486D F610 pea.l [A5 - 0x9F0]
000019C8 4A2D F58A tst.b [A5 - 0xA76]
000019CC 6606 bne +0x8 /* 000019D4 */
000019CE A8B8 syscall PaintOval
000019D0 6000 FED6 bra -0x128 /* 000018A8 */
label000019D4:
000019D4 322D F586 move.w D1, [A5 - 0xA7A]
000019D8 302D F588 move.w D0, [A5 - 0xA78]
000019DC 0641 00C0 addi.w D1, 0xC0
000019E0 0241 00FF andi.w D1, 0xFF
000019E4 4401 neg.b D1
000019E6 9240 sub.w D1, D0
000019E8 0241 00FF andi.w D1, 0xFF
000019EC C2FC mulu.w D1, 0xFFFFFFFFFFFFFFFF
000019EE 0168 E089 bchg [A0 - 0x1F77], D0
000019F2 3F01 move.w -[A7], D1
000019F4 C0FC mulu.w D0, 0xFFFFFFFFFFFFFFFF
000019F6 0168 E088 bchg [A0 - 0x1F78], D0
000019FA 3F00 move.w -[A7], D0
000019FC A8BF syscall PaintArc
000019FE 6000 FEA8 bra -0x156 /* 000018A8 */
00001A02 0A00 0080 xori.b D0, 0x80
00001A06 0A01 0080 xori.b D1, 0x80
00001A0A 0240 00FF andi.w D0, 0xFF
00001A0E 0241 00FF andi.w D1, 0xFF
00001A12 3B41 F576 move.w [A5 - 0xA8A], D1
00001A16 3B40 F578 move.w [A5 - 0xA88], D0
00001A1A 4E75 rts
fn00001A1C:
00001A1C 3B40 F56E move.w [A5 - 0xA92], D0
00001A20 3B41 F570 move.w [A5 - 0xA90], D1
00001A24 486D F56E pea.l [A5 - 0xA92]
00001A28 486D F566 pea.l [A5 - 0xA9A]
00001A2C 486D F678 pea.l [A5 - 0x988]
00001A30 A8F9 syscall MapPt
00001A32 4E75 rts
00001A34 61E6 bsr -0x18 /* 00001A1C */
00001A36 486D FC7E pea.l [A5 - 0x382]
00001A3A A89A syscall GetPen
00001A3C 3F2D F570 move.w -[A7], [A5 - 0xA90]
00001A40 3F2D F56E move.w -[A7], [A5 - 0xA92]
00001A44 A893 syscall MoveTo
00001A46 3F2D F570 move.w -[A7], [A5 - 0xA90]
00001A4A 3F2D F56E move.w -[A7], [A5 - 0xA92]
00001A4E A891 syscall LineTo
00001A50 3F2D FC80 move.w -[A7], [A5 - 0x380]
00001A54 3F2D FC7E move.w -[A7], [A5 - 0x382]
00001A58 A893 syscall MoveTo
00001A5A 4E75 rts
00001A5C 3B40 F572 move.w [A5 - 0xA8E], D0
00001A60 3B41 F574 move.w [A5 - 0xA8C], D1
00001A64 486D F572 pea.l [A5 - 0xA8E]
00001A68 486D F566 pea.l [A5 - 0xA9A]
00001A6C 486D F678 pea.l [A5 - 0x988]
00001A70 A8F9 syscall MapPt
00001A72 486D FC7E pea.l [A5 - 0x382]
00001A76 A89A syscall GetPen
00001A78 3F2D F570 move.w -[A7], [A5 - 0xA90]
00001A7C 3F2D F56E move.w -[A7], [A5 - 0xA92]
00001A80 A893 syscall MoveTo
00001A82 3F2D F574 move.w -[A7], [A5 - 0xA8C]
00001A86 3F2D F572 move.w -[A7], [A5 - 0xA8E]
00001A8A A891 syscall LineTo
00001A8C 2B6D F572 F56E move.l [A5 - 0xA92], [A5 - 0xA8E]
00001A92 3F2D FC80 move.w -[A7], [A5 - 0x380]
00001A96 3F2D FC7E move.w -[A7], [A5 - 0x382]
00001A9A A893 syscall MoveTo
00001A9C 4E75 rts
00001A9E 6112 bsr +0x14 /* 00001AB2 */
00001AA0 486D F610 pea.l [A5 - 0x9F0]
00001AA4 A8A1 syscall FrameRect
00001AA6 4E75 rts
00001AA8 6108 bsr +0xA /* 00001AB2 */
00001AAA 486D F610 pea.l [A5 - 0x9F0]
00001AAE A8A2 syscall PaintRect
00001AB0 4E75 rts
fn00001AB2:
00001AB2 3B40 F572 move.w [A5 - 0xA8E], D0
00001AB6 3B41 F574 move.w [A5 - 0xA8C], D1
00001ABA 486D F572 pea.l [A5 - 0xA8E]
00001ABE 486D F566 pea.l [A5 - 0xA9A]
00001AC2 486D F678 pea.l [A5 - 0x988]
00001AC6 A8F9 syscall MapPt
00001AC8 2F2D F572 move.l -[A7], [A5 - 0xA8E]
00001ACC 2F2D F56E move.l -[A7], [A5 - 0xA92]
00001AD0 486D F610 pea.l [A5 - 0x9F0]
00001AD4 A8AC syscall Pt2Rect
00001AD6 4E75 rts
00001AD8 3B40 F56E move.w [A5 - 0xA92], D0
00001ADC 3B41 F570 move.w [A5 - 0xA90], D1
00001AE0 486D F56E pea.l [A5 - 0xA92]
00001AE4 486D F566 pea.l [A5 - 0xA9A]
00001AE8 486D F678 pea.l [A5 - 0x988]
00001AEC A8F9 syscall MapPt
00001AEE 4E75 rts
00001AF0 2448 movea.l A2, A0
00001AF2 5888 addq.l A0, 4
00001AF4 2B48 FA7E move.l [A5 - 0x582], A0
00001AF8 206D FFFC movea.l A0, [A5 - 0x4]
00001AFC 4868 0002 pea.l [A0 + 0x2]
00001B00 486D FA7E pea.l [A5 - 0x582]
00001B04 3B40 F572 move.w [A5 - 0xA8E], D0
00001B08 3B41 F574 move.w [A5 - 0xA8C], D1
00001B0C 486D F572 pea.l [A5 - 0xA8E]
00001B10 486D F566 pea.l [A5 - 0xA9A]
00001B14 486D F678 pea.l [A5 - 0x988]
00001B18 A8F9 syscall MapPt
00001B1A 302D F574 move.w D0, [A5 - 0xA8C]
00001B1E 906D F570 sub.w D0, [A5 - 0xA90]
00001B22 3B40 FA8A move.w [A5 - 0x576], D0
00001B26 5E40 addq.w D0, 7
00001B28 E648 lsr D0.w, 3
00001B2A 5240 addq.w D0, 1
00001B2C 0240 FFFE andi.w D0, 0xFFFE
00001B30 3B40 FA82 move.w [A5 - 0x57E], D0
00001B34 42AD FA84 clr.l [A5 - 0x57C]
00001B38 302D F572 move.w D0, [A5 - 0xA8E]
00001B3C 906D F56E sub.w D0, [A5 - 0xA92]
00001B40 3B40 FA88 move.w [A5 - 0x578], D0
00001B44 486D F56E pea.l [A5 - 0xA92]
00001B48 486D FA84 pea.l [A5 - 0x57C]
00001B4C 3F3C 0000 move.w -[A7], 0x0
00001B50 42A7 clr.l -[A7]
00001B52 202D FA88 move.l D0, [A5 - 0x578]
00001B56 4840 swap.w D0
00001B58 2480 move.l [A2], D0
00001B5A A8EC syscall CopyBits
00001B5C 4E75 rts
00001B5E 245F movea.l A2, [A7]+
00001B60 3E00 move.w D7, D0
00001B62 486D FA7E pea.l [A5 - 0x582]
00001B66 2055 movea.l A0, [A5]
00001B68 2050 movea.l A0, [A0]
00001B6A 4868 0002 pea.l [A0 + 0x2]
00001B6E 206F 0008 movea.l A0, [A7 + 0x8]
00001B72 5888 addq.l A0, 4
00001B74 2B48 FA7E move.l [A5 - 0x582], A0
00001B78 206F 0008 movea.l A0, [A7 + 0x8]
00001B7C 3010 move.w D0, [A0]
00001B7E 5E40 addq.w D0, 7
00001B80 E648 lsr D0.w, 3
00001B82 5240 addq.w D0, 1
00001B84 0240 FFFE andi.w D0, 0xFFFE
00001B88 3B40 FA82 move.w [A5 - 0x57E], D0
00001B8C 42AD FA84 clr.l [A5 - 0x57C]
00001B90 2010 move.l D0, [A0]
00001B92 4840 swap.w D0
00001B94 2B40 FA88 move.l [A5 - 0x578], D0
00001B98 486D FA84 pea.l [A5 - 0x57C]
00001B9C 486D F56E pea.l [A5 - 0xA92]
00001BA0 3F07 move.w -[A7], D7
00001BA2 42A7 clr.l -[A7]
00001BA4 4A6F 001A tst.w [A7 + 0x1A]
00001BA8 6716 beq +0x18 /* 00001BC0 */
00001BAA 2B6F 001C F572 move.l [A5 - 0xA8E], [A7 + 0x1C]
00001BB0 486D F572 pea.l [A5 - 0xA8E]
00001BB4 486D F566 pea.l [A5 - 0xA9A]
00001BB8 486D F678 pea.l [A5 - 0x988]
00001BBC A8F9 syscall MapPt
00001BBE 6012 bra +0x14 /* 00001BD2 */
label00001BC0:
00001BC0 2B6D F56E F572 move.l [A5 - 0xA8E], [A5 - 0xA92]
00001BC6 3018 move.w D0, [A0]+
00001BC8 D16D F574 add.w [A5 - 0xA8C], D0
00001BCC 3010 move.w D0, [A0]
00001BCE D16D F572 add.w [A5 - 0xA8E], D0
label00001BD2:
00001BD2 A8EC syscall CopyBits
00001BD4 588F addq.l A7, 4
00001BD6 4A5F tst.w [A7]+
00001BD8 6702 beq +0x4 /* 00001BDC */
00001BDA 588F addq.l A7, 4
label00001BDC:
00001BDC 4ED2 jmp [A2]
00001BDE 3B41 FC80 move.w [A5 - 0x380], D1
00001BE2 3B40 FC7E move.w [A5 - 0x382], D0
00001BE6 486D FC7E pea.l [A5 - 0x382]
00001BEA 486D F566 pea.l [A5 - 0xA9A]
00001BEE 486D F678 pea.l [A5 - 0x988]
00001BF2 A8F9 syscall MapPt
00001BF4 558F subq.l A7, 2
00001BF6 2F2D FC7E move.l -[A7], [A5 - 0x382]
00001BFA 486D F678 pea.l [A5 - 0x988]
00001BFE A8AD syscall PtInRect
00001C00 4A17 tst.b [A7]
00001C02 6710 beq +0x12 /* 00001C14 */
00001C04 2F2D FC7E move.l -[A7], [A5 - 0x382]
00001C08 A865 syscall GetPixel
00001C0A 7000 moveq.l D0, 0x00
00001C0C 4A1F tst.b [A7]+
00001C0E 6702 beq +0x4 /* 00001C12 */
00001C10 5280 addq.l D0, 1
label00001C12:
00001C12 4E75 rts
label00001C14:
00001C14 548F addq.l A7, 2
00001C16 70FF moveq.l D0, 0xFFFFFFFF
00001C18 4E75 rts
fn00001C1A:
00001C1A 3F00 move.w -[A7], D0
00001C1C 598F subq.l A7, 4
00001C1E 2F3C 5041 5423 move.l -[A7], 0x50415423 /* 'PAT#' */
00001C24 4267 clr.w -[A7]
00001C26 A9A0 syscall GetResource
00001C28 2017 move.l D0, [A7]
00001C2A 671A beq +0x1C /* 00001C46 */
00001C2C 2040 movea.l A0, D0
00001C2E A029 syscall HLock
00001C30 205F movea.l A0, [A7]+
00001C32 2010 move.l D0, [A0]
00001C34 2040 movea.l A0, D0
00001C36 3218 move.w D1, [A0]+
00001C38 7000 moveq.l D0, 0x00
00001C3A 301F move.w D0, [A7]+
00001C3C B240 cmp.w D1, D0
00001C3E 6308 bls +0xA /* 00001C48 */
00001C40 E788 lsl D0, 3
00001C42 D1C0 add.l A0, D0
00001C44 4E75 rts
label00001C46:
00001C46 5C8F addq.l A7, 6
label00001C48:
00001C48 003C 0001 ori.b ccr, 1
00001C4C 4E75 rts
export_59:
00001C4E 245F movea.l A2, [A7]+
00001C50 301F move.w D0, [A7]+
00001C52 0C40 8000 cmpi.w D0, 0x8000
00001C56 670A beq +0xC /* 00001C62 */
00001C58 3B40 F584 move.w [A5 - 0xA7C], D0
00001C5C 612E bsr +0x30 /* 00001C8C */
00001C5E 2F00 move.l -[A7], D0
00001C60 A863 syscall BackColor
label00001C62:
00001C62 301F move.w D0, [A7]+
00001C64 0C40 8000 cmpi.w D0, 0x8000
00001C68 670A beq +0xC /* 00001C74 */
00001C6A 3B40 F582 move.w [A5 - 0xA7E], D0
00001C6E 611C bsr +0x1E /* 00001C8C */
00001C70 2F00 move.l -[A7], D0
00001C72 A862 syscall ForeColor
label00001C74:
00001C74 4ED2 jmp [A2]
00001C76 6114 bsr +0x16 /* 00001C8C */
00001C78 2F00 move.l -[A7], D0
00001C7A A862 syscall ForeColor
00001C7C 486D F678 pea.l [A5 - 0x988]
00001C80 A8A2 syscall PaintRect
00001C82 2F2D F582 move.l -[A7], [A5 - 0xA7E]
00001C86 A862 syscall ForeColor
00001C88 4EFA 00CA jmp [PC + 0xCA /* 00001D54 */]
fn00001C8C:
00001C8C 0240 0007 andi.w D0, 0x7
00001C90 E548 lsl D0.w, 2
00001C92 203B 0004 move.l D0, [PC + D0.w + 0x4]
00001C96 4E75 rts
00001C98 0000 001E ori.b D0, 0x1E
00001C9C 0000 0045 ori.b D0, 0x45 /* 'E' */
00001CA0 0000 0155 ori.b D0, 0x55 /* 'U' */
00001CA4 0000 0111 ori.b D0, 0x11
00001CA8 0000 0199 ori.b D0, 0x99
00001CAC 0000 0089 ori.b D0, 0x89
00001CB0 0000 00CD ori.b D0, 0xCD
00001CB4 0000 0021 ori.b D0, 0x21 /* '!' */
00001CB8 3038 028E move.w D0, [0x0000028E /* ROM85 */]
00001CBC 0240 C000 andi.w D0, 0xC000
00001CC0 6610 bne +0x12 /* 00001CD2 */
00001CC2 486F 0006 pea.l [A7 + 0x6]
00001CC6 4A6F 0008 tst.w [A7 + 0x8]
00001CCA 6704 beq +0x6 /* 00001CD0 */
00001CCC AA14 syscall RGBForeColor
00001CCE 6002 bra +0x4 /* 00001CD2 */
label00001CD0:
00001CD0 AA15 syscall RGBBackColor
label00001CD2:
00001CD2 205F movea.l A0, [A7]+
00001CD4 508F addq.l A7, 8
00001CD6 4ED0 jmp [A0]
00001CD8 48E7 E0C0 movem.l -[A7], D0,D1,D2,A0,A1
00001CDC 6110 bsr +0x12 /* 00001CEE */
00001CDE 4CDF 0307 movem.l D0,D1,D2,A0,A1, [A7]+
00001CE2 4E75 rts
00001CE4 486D 1492 pea.l [A5 + 0x1492 /* export_654 */]
00001CE8 A9F1 syscall UnloadSeg
00001CEA 4EED 10AA jmp [A5 + 0x10AA /* export_529 */]
fn00001CEE:
00001CEE 7020 moveq.l D0, 0x20
label00001CF0:
00001CF0 0C75 4EF9 0002 cmpi.w [A5 + D0.w + 0x2], 0x4EF9
00001CF6 671E beq +0x20 /* 00001D16 */
00001CF8 0C75 3F3C 0002 cmpi.w [A5 + D0.w + 0x2], 0x3F3C /* '?<' */
00001CFE 670A beq +0xC /* 00001D0A */
00001D00 A9FF syscall Debugger
00001D02 41FA 3E62 lea.l A0, [PC + 0x3E62 /* 00005B66, value 0x14536567, pstring "Segment Unload Error" */]
00001D06 4EED 13CA jmp [A5 + 0x13CA /* export_629 */]
label00001D0A:
00001D0A B275 0004 cmp.w D1, [A5 + D0.w + 0x4]
00001D0E 6602 bne +0x4 /* 00001D12 */
00001D10 4E75 rts
label00001D12:
00001D12 5040 addq.w D0, 8
00001D14 60DA bra -0x24 /* 00001CF0 */
label00001D16:
00001D16 B275 0000 cmp.w D1, [A5 + D0.w]
00001D1A 66F6 bne -0x8 /* 00001D12 */
00001D1C 4875 0002 pea.l [A5 + D0.w + 0x2]
00001D20 A9F1 syscall UnloadSeg
00001D22 4E75 rts
00001D24 2F00 move.l -[A7], D0
00001D26 A128 syscall RecoverHandle, flags=1
00001D28 201F move.l D0, [A7]+
00001D2A 2F00 move.l -[A7], D0
00001D2C A025 syscall GetHandleSize
00001D2E D197 add.l [A7], D0
00001D30 A02A syscall HUnlock
00001D32 201F move.l D0, [A7]+
00001D34 A024 syscall SetHandleSize
00001D36 6608 bne +0xA /* 00001D40 */
00001D38 A029 syscall HLock
00001D3A 2248 movea.l A1, A0
00001D3C 2050 movea.l A0, [A0]
00001D3E 7000 moveq.l D0, 0x00
label00001D40:
00001D40 4E75 rts
00001D42 A128 syscall RecoverHandle, flags=1
00001D44 A02A syscall HUnlock
00001D46 A023 syscall DisposHandle/DisposeHandle
00001D48 4E75 rts
export_38:
00001D4A 4EBA 3998 jsr [PC + 0x3998 /* 000056E4 */]
00001D4E 486D F678 pea.l [A5 - 0x988]
00001D52 A8A3 syscall EraseRect
label00001D54:
00001D54 3B7C 0002 FC80 move.w [A5 - 0x380], 0x2
00001D5A 3B6D F668 FC7E move.w [A5 - 0x382], [A5 - 0x998]
00001D60 426D F644 clr.w [A5 - 0x9BC]
00001D64 4EFA 006C jmp [PC + 0x6C /* 00001DD2 */]
00001D68 6102 bsr +0x4 /* 00001D6C */
00001D6A 6052 bra +0x54 /* 00001DBE */
fn00001D6C:
00001D6C 206D FFFC movea.l A0, [A5 - 0x4]
00001D70 2B68 0030 FC7E move.l [A5 - 0x382], [A0 + 0x30]
00001D76 2B6D FC7E F610 move.l [A5 - 0x9F0], [A5 - 0x382]
00001D7C 302D F660 move.w D0, [A5 - 0x9A0]
00001D80 916D F610 sub.w [A5 - 0x9F0], D0
00001D84 302D FC7E move.w D0, [A5 - 0x382]
00001D88 D06D F662 add.w D0, [A5 - 0x99E]
00001D8C D06D F666 add.w D0, [A5 - 0x99A]
00001D90 3B40 F614 move.w [A5 - 0x9EC], D0
00001D94 3B6D F67E F616 move.w [A5 - 0x9EA], [A5 - 0x982]
00001D9A A8DA syscall OpenRgn
00001D9C 486D F610 pea.l [A5 - 0x9F0]
00001DA0 A8A1 syscall FrameRect
00001DA2 4E75 rts
00001DA4 61C6 bsr -0x38 /* 00001D6C */
00001DA6 3B6D F614 F610 move.w [A5 - 0x9F0], [A5 - 0x9EC]
00001DAC 2B6D F67C F614 move.l [A5 - 0x9EC], [A5 - 0x984]
00001DB2 3B6D F67A F612 move.w [A5 - 0x9EE], [A5 - 0x986]
00001DB8 486D F610 pea.l [A5 - 0x9F0]
00001DBC A8A1 syscall FrameRect
label00001DBE:
00001DBE 4EBA 3924 jsr [PC + 0x3924 /* 000056E4 */]
00001DC2 598F subq.l A7, 4
00001DC4 A8D8 syscall NewRgn
00001DC6 2457 movea.l A2, [A7]
00001DC8 A8DB syscall CloseRgn
00001DCA 2F0A move.l -[A7], A2
00001DCC 2F0A move.l -[A7], A2
00001DCE A8D4 syscall EraseRgn
00001DD0 A8D9 syscall DisposRgn/DisposeRgn
label00001DD2:
00001DD2 202D FC7E move.l D0, [A5 - 0x382]
00001DD6 2B40 F650 move.l [A5 - 0x9B0], D0
00001DDA 2F00 move.l -[A7], D0
00001DDC A893 syscall MoveTo
00001DDE 4E75 rts
00001DE0 486D F778 pea.l [A5 - 0x888]
00001DE4 A874 syscall GetPort
00001DE6 1F2D F5A0 move.b -[A7], [A5 - 0xA60]
00001DEA 422D F5A0 clr.b [A5 - 0xA60]
00001DEE 4EBA 034A jsr [PC + 0x34A /* 0000213A */]
00001DF2 1B5F F5A0 move.b [A5 - 0xA60], [A7]+
00001DF6 245F movea.l A2, [A7]+
00001DF8 301F move.w D0, [A7]+
00001DFA 6B04 bmi +0x6 /* 00001E00 */
00001DFC 1B40 F5A0 move.b [A5 - 0xA60], D0
label00001E00:
00001E00 4A5F tst.w [A7]+
00001E02 6B04 bmi +0x6 /* 00001E08 */
00001E04 422D F59E clr.b [A5 - 0xA62]
label00001E08:
00001E08 301F move.w D0, [A7]+
00001E0A 6B06 bmi +0x8 /* 00001E12 */
00001E0C 5300 subq.b D0, 1
00001E0E 1B40 F59F move.b [A5 - 0xA61], D0
label00001E12:
00001E12 4A2D F59E tst.b [A5 - 0xA62]
00001E16 661A bne +0x1C /* 00001E32 */
00001E18 302D F660 move.w D0, [A5 - 0x9A0]
00001E1C D06D F662 add.w D0, [A5 - 0x99E]
00001E20 D06D F666 add.w D0, [A5 - 0x99A]
00001E24 7200 moveq.l D1, 0x00
00001E26 122D F5A0 move.b D1, [A5 - 0xA60]
00001E2A C0C1 mulu.w D0, D1
00001E2C 4267 clr.w -[A7]
00001E2E 3F00 move.w -[A7], D0
00001E30 A894 syscall Move
label00001E32:
00001E32 2F2D F778 move.l -[A7], [A5 - 0x888]
00001E36 A873 syscall SetPort
00001E38 4ED2 jmp [A2]
export_57:
00001E3A 245F movea.l A2, [A7]+
00001E3C 72FF moveq.l D1, 0xFFFFFFFF
00001E3E 206D FFFC movea.l A0, [A5 - 0x4]
00001E42 4A2D F64B tst.b [A5 - 0x9B5]
00001E46 6B00 025A bmi +0x25C /* 000020A2 */
label00001E4A:
00001E4A 301F move.w D0, [A7]+
00001E4C B041 cmp.w D0, D1
00001E4E 6708 beq +0xA /* 00001E58 */
00001E50 3B40 F66C move.w [A5 - 0x994], D0
00001E54 3140 0048 move.w [A0 + 0x48], D0
label00001E58:
00001E58 301F move.w D0, [A7]+
00001E5A B041 cmp.w D0, D1
00001E5C 670A beq +0xC /* 00001E68 */
00001E5E E058 ror D0.w, 8
00001E60 3B40 F66E move.w [A5 - 0x992], D0
00001E64 3140 0046 move.w [A0 + 0x46], D0
label00001E68:
00001E68 301F move.w D0, [A7]+
00001E6A B041 cmp.w D0, D1
00001E6C 6708 beq +0xA /* 00001E76 */
00001E6E 3B40 F668 move.w [A5 - 0x998], D0
00001E72 3140 004A move.w [A0 + 0x4A], D0
label00001E76:
00001E76 301F move.w D0, [A7]+
00001E78 B041 cmp.w D0, D1
00001E7A 6708 beq +0xA /* 00001E84 */
00001E7C 3B40 F66A move.w [A5 - 0x996], D0
00001E80 3140 0044 move.w [A0 + 0x44], D0
label00001E84:
00001E84 486D F660 pea.l [A5 - 0x9A0]
00001E88 A88B syscall GetFontInfo
00001E8A 4ED2 jmp [A2]
fn00001E8C:
00001E8C 4EBA 2B00 jsr [PC + 0x2B00 /* 0000498E */]
00001E90 671E beq +0x20 /* 00001EB0 */
00001E92 E949 lsl D1.w, 4
00001E94 206D F748 movea.l A0, [A5 - 0x8B8]
00001E98 2030 1008 move.l D0, [A0 + D1.w + 0x8]
00001E9C 6712 beq +0x14 /* 00001EB0 */
00001E9E 2240 movea.l A1, D0
00001EA0 2251 movea.l A1, [A1]
00001EA2 2669 0008 movea.l A3, [A1 + 0x8]
00001EA6 2253 movea.l A1, [A3]
00001EA8 4A69 0050 tst.w [A1 + 0x50]
00001EAC 6602 bne +0x4 /* 00001EB0 */
00001EAE 7001 moveq.l D0, 0x01
label00001EB0:
00001EB0 4E75 rts
00001EB2 225F movea.l A1, [A7]+
00001EB4 41ED FE88 lea.l A0, [A5 - 0x178]
00001EB8 311F move.w -[A0], [A7]+
00001EBA 311F move.w -[A0], [A7]+
00001EBC 311F move.w -[A0], [A7]+
00001EBE 2F09 move.l -[A7], A1
00001EC0 50ED FEFB st [A5 - 0x105]
00001EC4 6004 bra +0x6 /* 00001ECA */
00001EC6 51ED FEFB sf [A5 - 0x105]
label00001ECA:
00001ECA 61C0 bsr -0x3E /* 00001E8C */
00001ECC 6608 bne +0xA /* 00001ED6 */
00001ECE 205F movea.l A0, [A7]+
00001ED0 4FEF 0008 lea.l A7, [A7 + 0x8]
00001ED4 4ED0 jmp [A0]
label00001ED6:
00001ED6 6A00 0078 bpl +0x7A /* 00001F50 */
00001EDA 2240 movea.l A1, D0
00001EDC 2251 movea.l A1, [A1]
00001EDE 2669 0008 movea.l A3, [A1 + 0x8]
00001EE2 2253 movea.l A1, [A3]
00001EE4 4A69 0050 tst.w [A1 + 0x50]
00001EE8 6A66 bpl +0x68 /* 00001F50 */
00001EEA 43ED FE7C lea.l A1, [A5 - 0x184]
00001EEE 72FF moveq.l D1, 0xFFFFFFFF
00001EF0 7400 moveq.l D2, 0x00
00001EF2 245F movea.l A2, [A7]+
00001EF4 301F move.w D0, [A7]+
00001EF6 3280 move.w [A1], D0
00001EF8 4A2D FEFB tst.b [A5 - 0x105]
00001EFC 6704 beq +0x6 /* 00001F02 */
00001EFE 08C2 0003 bset.b D2, 0x3
label00001F02:
00001F02 301F move.w D0, [A7]+
00001F04 1340 0002 move.b [A1 + 0x2], D0
00001F08 1340 0003 move.b [A1 + 0x3], D0
00001F0C 6704 beq +0x6 /* 00001F12 */
00001F0E 08C2 0005 bset.b D2, 0x5
label00001F12:
00001F12 B041 cmp.w D0, D1
00001F14 6704 beq +0x6 /* 00001F1A */
00001F16 08C2 0001 bset.b D2, 0x1
label00001F1A:
00001F1A 301F move.w D0, [A7]+
00001F1C 3340 0004 move.w [A1 + 0x4], D0
00001F20 B041 cmp.w D0, D1
00001F22 6704 beq +0x6 /* 00001F28 */
00001F24 08C2 0002 bset.b D2, 0x2
label00001F28:
00001F28 301F move.w D0, [A7]+
00001F2A 3340 0000 move.w [A1 + 0x0], D0
00001F2E B041 cmp.w D0, D1
00001F30 6704 beq +0x6 /* 00001F36 */
00001F32 08C2 0000 bset.b D2, 0x0
label00001F36:
00001F36 4852 pea.l [A2]
00001F38 3F02 move.w -[A7], D2
00001F3A 2F09 move.l -[A7], A1
00001F3C 50E7 st -[A7]
00001F3E 2F0B move.l -[A7], A3
00001F40 3F3C 0001 move.w -[A7], 0x1
00001F44 4EBA 0E12 jsr [PC + 0xE12 /* 00002D58 */]
00001F48 244B movea.l A2, A3
00001F4A A83D syscall TEDispatch
00001F4C 4EFA 0084 jmp [PC + 0x84 /* 00001FD2 */]
label00001F50:
00001F50 72FF moveq.l D1, 0xFFFFFFFF
00001F52 206D FFFC movea.l A0, [A5 - 0x4]
00001F56 2B5F F610 move.l [A5 - 0x9F0], [A7]+
00001F5A 45FA 0006 lea.l A2, [PC + 0x6 /* 00001F62, value 0x2F2DF610 */]
00001F5E 6000 FEEA bra -0x114 /* 00001E4A */
00001F62 2F2D F610 move.l -[A7], [A5 - 0x9F0]
00001F66 486D F610 pea.l [A5 - 0x9F0]
00001F6A A88B syscall GetFontInfo
00001F6C 6100 FF1E bsr -0xE0 /* 00001E8C */
00001F70 2229 0008 move.l D1, [A1 + 0x8]
00001F74 B2A9 000C cmp.l D1, [A1 + 0xC]
00001F78 6700 376A beq +0x376C /* 000056E4 */
00001F7C 302D F610 move.w D0, [A5 - 0x9F0]
00001F80 3340 001A move.w [A1 + 0x1A], D0
00001F84 D06D F612 add.w D0, [A5 - 0x9EE]
00001F88 D06D F616 add.w D0, [A5 - 0x9EA]
00001F8C 3340 0018 move.w [A1 + 0x18], D0
00001F90 336D F66C 004E move.w [A1 + 0x4E], [A5 - 0x994]
00001F96 336D F66E 004C move.w [A1 + 0x4C], [A5 - 0x992]
00001F9C 336D F66A 004A move.w [A1 + 0x4A], [A5 - 0x996]
00001FA2 336D F668 0050 move.w [A1 + 0x50], [A5 - 0x998]
00001FA8 486D F610 pea.l [A5 - 0x9F0]
00001FAC 244B movea.l A2, A3
00001FAE 2F0A move.l -[A7], A2
00001FB0 2F0A move.l -[A7], A2
00001FB2 204A movea.l A0, A2
00001FB4 4EBA 3018 jsr [PC + 0x3018 /* 00004FCE */]
00001FB8 4EBA 0D9E jsr [PC + 0xD9E /* 00002D58 */]
00001FBC A9D0 syscall TECalText
00001FBE 486D F610 pea.l [A5 - 0x9F0]
00001FC2 2F3C 0001 0001 move.l -[A7], 0x10001
00001FC8 A8A9 syscall InsetRect
00001FCA 486D F610 pea.l [A5 - 0x9F0]
00001FCE A8A3 syscall EraseRect
00001FD0 A9D3 syscall TEUpdate
fn00001FD2:
00001FD2 610A bsr +0xC /* 00001FDE */
fn00001FD4:
00001FD4 487A 1B0E pea.l [PC + 0x1B0E /* 00003AE4, value 0x140002 */]
00001FD8 A899 syscall SetPenState
00001FDA 4EFA 3708 jmp [PC + 0x3708 /* 000056E4 */]
fn00001FDE:
00001FDE 2252 movea.l A1, [A2]
00001FE0 4A69 0050 tst.w [A1 + 0x50]
00001FE4 6A00 00BA bpl +0xBC /* 000020A0 */
00001FE8 2069 004A movea.l A0, [A1 + 0x4A]
00001FEC 2050 movea.l A0, [A0]
00001FEE 2028 000C move.l D0, [A0 + 0xC]
00001FF2 6700 00AC beq +0xAE /* 000020A0 */
00001FF6 48E7 3F38 movem.l -[A7], D2,D3,D4,D5,D6,D7,A2,A3,A4
00001FFA 2640 movea.l A3, D0
00001FFC 2029 0008 move.l D0, [A1 + 0x8]
00002000 0680 0004 0004 addi.l D0, 0x40004
00002006 4267 clr.w -[A7]
00002008 2F00 move.l -[A7], D0
0000200A 2F0A move.l -[A7], A2
0000200C A83C syscall TEGetOffset
0000200E 341F move.w D2, [A7]+
00002010 7C00 moveq.l D6, 0x00
00002012 2252 movea.l A1, [A2]
00002014 3E29 005E move.w D7, [A1 + 0x5E]
00002018 6710 beq +0x12 /* 0000202A */
0000201A 41E9 0060 lea.l A0, [A1 + 0x60]
0000201E 3207 move.w D1, D7
00002020 6002 bra +0x4 /* 00002024 */
label00002022:
00002022 5246 addq.w D6, 1
label00002024:
00002024 B458 cmp.w D2, [A0]+
00002026 55C9 FFFA dbcs D1, -0x8 /* 00002022 */
label0000202A:
0000202A 3029 000C move.w D0, [A1 + 0xC]
0000202E 9069 0008 sub.w D0, [A1 + 0x8]
00002032 5240 addq.w D0, 1
00002034 3429 005E move.w D2, [A1 + 0x5E]
00002038 2069 004A movea.l A0, [A1 + 0x4A]
0000203C 2050 movea.l A0, [A0]
0000203E 2068 0008 movea.l A0, [A0 + 0x8]
00002042 2050 movea.l A0, [A0]
00002044 7200 moveq.l D1, 0x00
label00002046:
00002046 D258 add.w D1, [A0]+
00002048 5488 addq.l A0, 2
0000204A B041 cmp.w D0, D1
0000204C 5BCA FFF8 dbmi D2, -0xA /* 00002046 */
00002050 6B14 bmi +0x16 /* 00002066 */
00002052 3029 0008 move.w D0, [A1 + 0x8]
00002056 9069 0000 sub.w D0, [A1 + 0x0]
0000205A 6708 beq +0xA /* 00002064 */
0000205C 4267 clr.w -[A7]
0000205E 3F00 move.w -[A7], D0
00002060 2F0A move.l -[A7], A2
00002062 A9DD syscall TEScroll
label00002064:
00002064 7E01 moveq.l D7, 0x01
label00002066:
00002066 4EBA 382A jsr [PC + 0x382A /* 00005892 */]
0000206A 4267 clr.w -[A7]
0000206C 2F0B move.l -[A7], A3
0000206E A962 syscall GetControlMaximum/GetMaxCtl
00002070 BE5F cmp.w D7, [A7]+
00002072 6706 beq +0x8 /* 0000207A */
00002074 2F0B move.l -[A7], A3
00002076 3F07 move.w -[A7], D7
00002078 A965 syscall SetControlMaximum/SetMaxCtl
label0000207A:
0000207A 4267 clr.w -[A7]
0000207C 2F0B move.l -[A7], A3
0000207E A961 syscall GetControlMinimum/GetMinCtl
00002080 535F subq.w [A7]+, 1
00002082 6708 beq +0xA /* 0000208C */
00002084 2F0B move.l -[A7], A3
00002086 3F3C 0001 move.w -[A7], 0x1
0000208A A964 syscall SetControlMinimum/SetMinCtl
label0000208C:
0000208C 4267 clr.w -[A7]
0000208E 2F0B move.l -[A7], A3
00002090 A960 syscall GetControlValue/GetCtlValue
00002092 BC5F cmp.w D6, [A7]+
00002094 6706 beq +0x8 /* 0000209C */
00002096 2F0B move.l -[A7], A3
00002098 3F06 move.w -[A7], D6
0000209A A963 syscall SetControlValue/SetCtlValue
label0000209C:
0000209C 4CDF 1CFC movem.l D2,D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
label000020A0:
000020A0 4E75 rts
label000020A2:
000020A2 301F move.w D0, [A7]+
000020A4 B041 cmp.w D0, D1
000020A6 6708 beq +0xA /* 000020B0 */
000020A8 3B40 F66C move.w [A5 - 0x994], D0
000020AC 3140 0048 move.w [A0 + 0x48], D0
label000020B0:
000020B0 301F move.w D0, [A7]+
000020B2 B041 cmp.w D0, D1
000020B4 670A beq +0xC /* 000020C0 */
000020B6 E058 ror D0.w, 8
000020B8 3B40 F66E move.w [A5 - 0x992], D0
000020BC 3140 0046 move.w [A0 + 0x46], D0
label000020C0:
000020C0 301F move.w D0, [A7]+
000020C2 B041 cmp.w D0, D1
000020C4 6708 beq +0xA /* 000020CE */
000020C6 3B40 F668 move.w [A5 - 0x998], D0
000020CA 3140 004A move.w [A0 + 0x4A], D0
label000020CE:
000020CE 301F move.w D0, [A7]+
000020D0 B041 cmp.w D0, D1
000020D2 6700 FDB0 beq -0x24E /* 00001E84 */
000020D6 3B40 F66A move.w [A5 - 0x996], D0
000020DA 3140 0044 move.w [A0 + 0x44], D0
000020DE 6000 FDA4 bra -0x25A /* 00001E84 */
000020E2 2B5F F778 move.l [A5 - 0x888], [A7]+
000020E6 2455 movea.l A2, [A5]
000020E8 2452 movea.l A2, [A2]
000020EA 76FF moveq.l D3, 0xFFFFFFFF
000020EC 301F move.w D0, [A7]+
000020EE B640 cmp.w D3, D0
000020F0 6708 beq +0xA /* 000020FA */
000020F2 4EBA FB26 jsr [PC - 0x4DA /* 00001C1A */]
000020F6 2F08 move.l -[A7], A0
000020F8 A89D syscall PenPat
label000020FA:
000020FA 301F move.w D0, [A7]+
000020FC B640 cmp.w D3, D0
000020FE 6704 beq +0x6 /* 00002104 */
00002100 3540 0038 move.w [A2 + 0x38], D0
label00002104:
00002104 4A5F tst.w [A7]+
00002106 670A beq +0xC /* 00002112 */
00002108 4A5F tst.w [A7]+
0000210A 57C0 seq D0
0000210C 4880 ext.w D0
0000210E 3540 0042 move.w [A2 + 0x42], D0
label00002112:
00002112 301F move.w D0, [A7]+
00002114 B043 cmp.w D0, D3
00002116 6704 beq +0x6 /* 0000211C */
00002118 3540 0034 move.w [A2 + 0x34], D0
label0000211C:
0000211C 301F move.w D0, [A7]+
0000211E B640 cmp.w D3, D0
00002120 6704 beq +0x6 /* 00002126 */
00002122 3540 0036 move.w [A2 + 0x36], D0
label00002126:
00002126 206D F778 movea.l A0, [A5 - 0x888]
0000212A 4ED0 jmp [A0]
0000212C 7000 moveq.l D0, 0x00
0000212E 4AAD F770 tst.l [A5 - 0x890]
00002132 6704 beq +0x6 /* 00002138 */
00002134 102D F59E move.b D0, [A5 - 0xA62]
label00002138:
00002138 4E75 rts
fn0000213A:
0000213A 6138 bsr +0x3A /* 00002174 */
0000213C 6720 beq +0x22 /* 0000215E */
0000213E 1B7C 0080 F64B move.b [A5 - 0x9B5], 0x80
00002144 202D F770 move.l D0, [A5 - 0x890]
00002148 6602 bne +0x4 /* 0000214C */
0000214A 6166 bsr +0x68 /* 000021B2 */
label0000214C:
0000214C 2F2D F770 move.l -[A7], [A5 - 0x890]
00002150 A873 syscall SetPort
00002152 4EBA 010C jsr [PC + 0x10C /* 00002260 */]
00002156 4EBA 0008 jsr [PC + 0x8 /* 00002160 */]
0000215A 023C 00FE andi.b ccr, 254
label0000215E:
0000215E 4E75 rts
fn00002160:
00002160 4A2D F538 tst.b [A5 - 0xAC8]
00002164 670C beq +0xE /* 00002172 */
00002166 2B6D F678 F566 move.l [A5 - 0xA9A], [A5 - 0x988]
0000216C 2B6D F67C F56A move.l [A5 - 0xA96], [A5 - 0x984]
label00002172:
00002172 4E75 rts
fn00002174:
00002174 4A2D FD24 tst.b [A5 - 0x2DC]
00002178 6600 0032 bne +0x34 /* 000021AC */
0000217C 2F3C C800 0000 move.l -[A7], 0xC8000000
00002182 A8FD syscall PrGlue
00002184 614E bsr +0x50 /* 000021D4 */
00002186 6624 bne +0x26 /* 000021AC */
00002188 50ED FD24 st [A5 - 0x2DC]
0000218C 4227 clr.b -[A7]
0000218E 2F2D F76C move.l -[A7], [A5 - 0x894]
00002192 2F3C 5204 0498 move.l -[A7], 0x52040498
00002198 A8FD syscall PrGlue
0000219A 4A1F tst.b [A7]+
0000219C 670C beq +0xE /* 000021AA */
0000219E 2F2D F76C move.l -[A7], [A5 - 0x894]
000021A2 2F3C 2004 0480 move.l -[A7], 0x20040480
000021A8 A8FD syscall PrGlue
label000021AA:
000021AA 70FF moveq.l D0, 0xFFFFFFFF
label000021AC:
000021AC 4A2D FD24 tst.b [A5 - 0x2DC]
000021B0 4E75 rts
fn000021B2:
000021B2 426D F642 clr.w [A5 - 0x9BE]
000021B6 61BC bsr -0x42 /* 00002174 */
000021B8 6718 beq +0x1A /* 000021D2 */
000021BA 42A7 clr.l -[A7]
000021BC 2F2D F76C move.l -[A7], [A5 - 0x894]
000021C0 42A7 clr.l -[A7]
000021C2 42A7 clr.l -[A7]
000021C4 2F3C 0400 0C00 move.l -[A7], 0x4000C00
000021CA A8FD syscall PrGlue
000021CC 2B5F F770 move.l [A5 - 0x890], [A7]+
000021D0 662E bne +0x30 /* 00002200 */
label000021D2:
000021D2 4E75 rts
fn000021D4:
000021D4 4267 clr.w -[A7]
000021D6 2F3C BA00 0000 move.l -[A7], 0xBA000000
000021DC A8FD syscall PrGlue
000021DE 301F move.w D0, [A7]+
000021E0 4E75 rts
fn000021E2:
000021E2 4AAD F770 tst.l [A5 - 0x890]
000021E6 6608 bne +0xA /* 000021F0 */
000021E8 61C8 bsr -0x36 /* 000021B2 */
000021EA 4AAD F770 tst.l [A5 - 0x890]
000021EE 6708 beq +0xA /* 000021F8 */
label000021F0:
000021F0 2F2D F770 move.l -[A7], [A5 - 0x890]
000021F4 A873 syscall SetPort
000021F6 6104 bsr +0x6 /* 000021FC */
label000021F8:
000021F8 4EFA 00DE jmp [PC + 0xDE /* 000022D8 */]
fn000021FC:
000021FC 4EBA 0122 jsr [PC + 0x122 /* 00002320 */]
label00002200:
00002200 2F2D F770 move.l -[A7], [A5 - 0x890]
00002204 42A7 clr.l -[A7]
00002206 2F3C 1000 0808 move.l -[A7], 0x10000808
0000220C A8FD syscall PrGlue
0000220E 206D F76C movea.l A0, [A5 - 0x894]
00002212 2050 movea.l A0, [A0]
00002214 43F8 0000 lea.l A1, [0x00000000 /* __m68k_reset_stack__ */]
00002218 4AAD F5D2 tst.l [A5 - 0xA2E]
0000221C 6704 beq +0x6 /* 00002222 */
0000221E 43FA 36CA lea.l A1, [PC + 0x36CA /* 000058EA, value 0x48E7FFFE */]
label00002222:
00002222 2149 0046 move.l [A0 + 0x46], A1
00002226 6138 bsr +0x3A /* 00002260 */
00002228 302D F666 move.w D0, [A5 - 0x99A]
0000222C D06D F660 add.w D0, [A5 - 0x9A0]
00002230 D06D F5A4 add.w D0, [A5 - 0xA5C]
00002234 3F2D F5A2 move.w -[A7], [A5 - 0xA5E]
00002238 3F00 move.w -[A7], D0
0000223A A893 syscall MoveTo
0000223C 7200 moveq.l D1, 0x00
0000223E 122D F5A0 move.b D1, [A5 - 0xA60]
00002242 6714 beq +0x16 /* 00002258 */
00002244 302D F660 move.w D0, [A5 - 0x9A0]
00002248 D06D F662 add.w D0, [A5 - 0x99E]
0000224C D06D F666 add.w D0, [A5 - 0x99A]
00002250 C0C1 mulu.w D0, D1
00002252 4267 clr.w -[A7]
00002254 3F00 move.w -[A7], D0
00002256 A894 syscall Move
label00002258:
00002258 422D F59E clr.b [A5 - 0xA62]
0000225C 6000 FF02 bra -0xFC /* 00002160 */
fn00002260:
00002260 206D F770 movea.l A0, [A5 - 0x890]
00002264 316D F66A 0044 move.w [A0 + 0x44], [A5 - 0x996]
0000226A 316D F668 004A move.w [A0 + 0x4A], [A5 - 0x998]
00002270 316D F66E 0046 move.w [A0 + 0x46], [A5 - 0x992]
00002276 316D F66C 0048 move.w [A0 + 0x48], [A5 - 0x994]
0000227C 2B68 0010 F678 move.l [A5 - 0x988], [A0 + 0x10]
00002282 2B68 0014 F67C move.l [A5 - 0x984], [A0 + 0x14]
00002288 4E75 rts
0000228A 4EBA 00A2 jsr [PC + 0xA2 /* 0000232E */]
0000228E 6100 FEE4 bsr -0x11A /* 00002174 */
00002292 6718 beq +0x1A /* 000022AC */
00002294 558F subq.l A7, 2
00002296 2F2D F76C move.l -[A7], [A5 - 0x894]
0000229A 2F3C 3204 0488 move.l -[A7], 0x32040488
000022A0 A8FD syscall PrGlue
000022A2 4A1F tst.b [A7]+
000022A4 57ED F738 seq [A5 - 0x8C8]
000022A8 4EBA 002E jsr [PC + 0x2E /* 000022D8 */]
label000022AC:
000022AC 4E75 rts
000022AE 50ED F738 st [A5 - 0x8C8]
000022B2 4E75 rts
000022B4 4EBA 0078 jsr [PC + 0x78 /* 0000232E */]
000022B8 6100 FEBA bsr -0x144 /* 00002174 */
000022BC 6602 bne +0x4 /* 000022C0 */
000022BE 4E75 rts
label000022C0:
000022C0 426D F642 clr.w [A5 - 0x9BE]
000022C4 558F subq.l A7, 2
000022C6 2F2D F76C move.l -[A7], [A5 - 0x894]
000022CA 2F3C 2A04 0484 move.l -[A7], 0x2A040484
000022D0 A8FD syscall PrGlue
000022D2 4A1F tst.b [A7]+
000022D4 57ED F738 seq [A5 - 0x8C8]
fn000022D8:
000022D8 1B6D FD22 F64B move.b [A5 - 0x9B5], [A5 - 0x2DE]
000022DE 6708 beq +0xA /* 000022E8 */
000022E0 0200 007F andi.b D0, 0x7F
000022E4 6700 FE54 beq -0x1AA /* 0000213A */
fn000022E8:
000022E8 2F2D F62E move.l -[A7], [A5 - 0x9D2]
000022EC A873 syscall SetPort
000022EE 4EBA 1A04 jsr [PC + 0x1A04 /* 00003CF4 */]
000022F2 206D F62E movea.l A0, [A5 - 0x9D2]
000022F6 316D F66A 0044 move.w [A0 + 0x44], [A5 - 0x996]
000022FC 316D F668 004A move.w [A0 + 0x4A], [A5 - 0x998]
00002302 316D F66E 0046 move.w [A0 + 0x46], [A5 - 0x992]
00002308 316D F66C 0048 move.w [A0 + 0x48], [A5 - 0x994]
0000230E 486D F660 pea.l [A5 - 0x9A0]
00002312 A88B syscall GetFontInfo
00002314 4E75 rts
00002316 426D F642 clr.w [A5 - 0x9BE]
0000231A 6100 FEC6 bsr -0x138 /* 000021E2 */
0000231E 60B8 bra -0x46 /* 000022D8 */
fn00002320:
00002320 2F2D F770 move.l -[A7], [A5 - 0x890]
00002324 2F3C 1800 040C move.l -[A7], 0x1800040C
0000232A A8FD syscall PrGlue
0000232C 4E75 rts
fn0000232E:
0000232E 4A2D FD24 tst.b [A5 - 0x2DC]
00002332 6772 beq +0x74 /* 000023A6 */
00002334 202D F770 move.l D0, [A5 - 0x890]
00002338 6760 beq +0x62 /* 0000239A */
0000233A 2F00 move.l -[A7], D0
0000233C A873 syscall SetPort
0000233E 422D FD22 clr.b [A5 - 0x2DE]
00002342 422D F64B clr.b [A5 - 0x9B5]
00002346 61D8 bsr -0x26 /* 00002320 */
00002348 2F2D F770 move.l -[A7], [A5 - 0x890]
0000234C 2F3C 0800 0484 move.l -[A7], 0x8000484
00002352 A8FD syscall PrGlue
00002354 42AD F770 clr.l [A5 - 0x890]
00002358 206D F76C movea.l A0, [A5 - 0x894]
0000235C 2050 movea.l A0, [A0]
0000235E 0C28 0001 0044 cmpi.b [A0 + 0x44], 0x1
00002364 6630 bne +0x32 /* 00002396 */
00002366 4267 clr.w -[A7]
00002368 2F3C BA00 0000 move.l -[A7], 0xBA000000
0000236E A8FD syscall PrGlue
00002370 4A5F tst.w [A7]+
00002372 670C beq +0xE /* 00002380 */
00002374 6100 FF72 bsr -0x8C /* 000022E8 */
00002378 41FA 37D8 lea.l A0, [PC + 0x37D8 /* 00005B52, value 0x12507269, pstring "Printer File Error" */]
0000237C 4EED 13CA jmp [A5 + 0x13CA /* export_629 */]
label00002380:
00002380 2F2D F76C move.l -[A7], [A5 - 0x894]
00002384 42A7 clr.l -[A7]
00002386 42A7 clr.l -[A7]
00002388 42A7 clr.l -[A7]
0000238A 486D FD42 pea.l [A5 - 0x2BE]
0000238E 2F3C 6005 1480 move.l -[A7], 0x60051480
00002394 A8FD syscall PrGlue
label00002396:
00002396 6100 FF50 bsr -0xAE /* 000022E8 */
label0000239A:
0000239A 2F3C D000 0000 move.l -[A7], 0xD0000000
000023A0 A8FD syscall PrGlue
000023A2 51ED FD24 sf [A5 - 0x2DC]
label000023A6:
000023A6 4E75 rts
fn000023A8:
000023A8 4A80 tst.l D0
000023AA 670C beq +0xE /* 000023B8 */
000023AC 5380 subq.l D0, 1
000023AE 6718 beq +0x1A /* 000023C8 */
000023B0 302D F646 move.w D0, [A5 - 0x9BA]
000023B4 48C0 ext.l D0
000023B6 4E75 rts
fn000023B8:
000023B8 7000 moveq.l D0, 0x00
000023BA 4A2D F64B tst.b [A5 - 0x9B5]
000023BE 6608 bne +0xA /* 000023C8 */
000023C0 302D F644 move.w D0, [A5 - 0x9BC]
000023C4 48C0 ext.l D0
000023C6 4E75 rts
label000023C8:
000023C8 102D F64B move.b D0, [A5 - 0x9B5]
000023CC 0200 007F andi.b D0, 0x7F
000023D0 6708 beq +0xA /* 000023DA */
000023D2 302D F646 move.w D0, [A5 - 0x9BA]
000023D6 48C0 ext.l D0
000023D8 4E75 rts
label000023DA:
000023DA 302D F642 move.w D0, [A5 - 0x9BE]
000023DE 48C0 ext.l D0
000023E0 4E75 rts
export_42:
fn000023E2:
000023E2 4A2D F64B tst.b [A5 - 0x9B5]
000023E6 6700 02D8 beq +0x2DA /* 000026C0 */
000023EA 6B00 00E4 bmi +0xE6 /* 000024D0 */
000023EE 700D moveq.l D0, 0x0D
000023F0 4EFA 029E jmp [PC + 0x29E /* 00002690 */]
fn000023F4:
000023F4 7020 moveq.l D0, 0x20
fn000023F6:
000023F6 4A2D F64B tst.b [A5 - 0x9B5]
000023FA 6600 0060 bne +0x62 /* 0000245C */
000023FE 0C00 000D cmpi.b D0, 0xD /* '\r' */
00002402 6700 02BC beq +0x2BE /* 000026C0 */
00002406 48E7 E0C0 movem.l -[A7], D0,D1,D2,A0,A1
0000240A 0240 00FF andi.w D0, 0xFF
0000240E 3F00 move.w -[A7], D0
00002410 0C6D FFFE F63C cmpi.w [A5 - 0x9C4], 0xFFFE
00002416 6720 beq +0x22 /* 00002438 */
00002418 558F subq.l A7, 2
0000241A 3F00 move.w -[A7], D0
0000241C A88D syscall CharWidth
0000241E 206D FFFC movea.l A0, [A5 - 0x4]
00002422 2B68 0030 FC7E move.l [A5 - 0x382], [A0 + 0x30]
00002428 302D FC80 move.w D0, [A5 - 0x380]
0000242C D05F add.w D0, [A7]+
0000242E B06D F67E cmp.w D0, [A5 - 0x982]
00002432 6304 bls +0x6 /* 00002438 */
00002434 4EBA 028A jsr [PC + 0x28A /* 000026C0 */]
label00002438:
00002438 526D F644 addq.w [A5 - 0x9BC], 1
0000243C A883 syscall DrawChar
0000243E 302D F644 move.w D0, [A5 - 0x9BC]
00002442 B06D F63C cmp.w D0, [A5 - 0x9C4]
00002446 6504 bcs +0x6 /* 0000244C */
00002448 4EBA 0276 jsr [PC + 0x276 /* 000026C0 */]
label0000244C:
0000244C 206D FFFC movea.l A0, [A5 - 0x4]
00002450 2B68 0030 FC7E move.l [A5 - 0x382], [A0 + 0x30]
00002456 4CDF 0307 movem.l D0,D1,D2,A0,A1, [A7]+
0000245A 4E75 rts
label0000245C:
0000245C 3F01 move.w -[A7], D1
0000245E 122D F64B move.b D1, [A5 - 0x9B5]
00002462 6A00 022A bpl +0x22C /* 0000268E */
00002466 0201 007F andi.b D1, 0x7F
0000246A 6600 00E4 bne +0xE6 /* 00002550 */
0000246E 321F move.w D1, [A7]+
00002470 4A2D F738 tst.b [A5 - 0x8C8]
00002474 6658 bne +0x5A /* 000024CE */
00002476 0C00 000D cmpi.b D0, 0xD /* '\r' */
0000247A 6700 0064 beq +0x66 /* 000024E0 */
0000247E 48E7 E0C0 movem.l -[A7], D0,D1,D2,A0,A1
00002482 0240 00FF andi.w D0, 0xFF
00002486 3F00 move.w -[A7], D0
00002488 0C6D FFFE F63A cmpi.w [A5 - 0x9C6], 0xFFFE
0000248E 6728 beq +0x2A /* 000024B8 */
00002490 558F subq.l A7, 2
00002492 3F00 move.w -[A7], D0
00002494 A88D syscall CharWidth
00002496 206D FFFC movea.l A0, [A5 - 0x4]
0000249A 2B68 0030 FC7E move.l [A5 - 0x382], [A0 + 0x30]
000024A0 302D FC80 move.w D0, [A5 - 0x380]
000024A4 D05F add.w D0, [A7]+
000024A6 206D F76C movea.l A0, [A5 - 0x894]
000024AA 2050 movea.l A0, [A0]
000024AC 41E8 0008 lea.l A0, [A0 + 0x8]
000024B0 B068 0006 cmp.w D0, [A0 + 0x6]
000024B4 6302 bls +0x4 /* 000024B8 */
000024B6 6128 bsr +0x2A /* 000024E0 */
label000024B8:
000024B8 526D F642 addq.w [A5 - 0x9BE], 1
000024BC A883 syscall DrawChar
000024BE 302D F642 move.w D0, [A5 - 0x9BE]
000024C2 B06D F63A cmp.w D0, [A5 - 0x9C6]
000024C6 6502 bcs +0x4 /* 000024CA */
000024C8 6116 bsr +0x18 /* 000024E0 */
label000024CA:
000024CA 4CDF 0307 movem.l D0,D1,D2,A0,A1, [A7]+
label000024CE:
000024CE 4E75 rts
label000024D0:
000024D0 3F01 move.w -[A7], D1
000024D2 122D F64B move.b D1, [A5 - 0x9B5]
000024D6 0201 007F andi.b D1, 0x7F
000024DA 6600 0070 bne +0x72 /* 0000254C */
000024DE 321F move.w D1, [A7]+
fn000024E0:
000024E0 48E7 E0C0 movem.l -[A7], D0,D1,D2,A0,A1
000024E4 426D F642 clr.w [A5 - 0x9BE]
000024E8 202D F770 move.l D0, [A5 - 0x890]
000024EC 6758 beq +0x5A /* 00002546 */
000024EE 2040 movea.l A0, D0
000024F0 3028 0030 move.w D0, [A0 + 0x30]
000024F4 D06D F662 add.w D0, [A5 - 0x99E]
000024F8 D06D F660 add.w D0, [A5 - 0x9A0]
000024FC D06D F666 add.w D0, [A5 - 0x99A]
00002500 206D F76C movea.l A0, [A5 - 0x894]
00002504 2050 movea.l A0, [A0]
00002506 41E8 0008 lea.l A0, [A0 + 0x8]
0000250A B068 0004 cmp.w D0, [A0 + 0x4]
0000250E 6520 bcs +0x22 /* 00002530 */
label00002510:
00002510 6100 FCEA bsr -0x314 /* 000021FC */
00002514 422D F59E clr.b [A5 - 0xA62]
00002518 7000 moveq.l D0, 0x00
0000251A 102D F5A0 move.b D0, [A5 - 0xA60]
0000251E 6726 beq +0x28 /* 00002546 */
00002520 322D F662 move.w D1, [A5 - 0x99E]
00002524 D26D F660 add.w D1, [A5 - 0x9A0]
00002528 D26D F666 add.w D1, [A5 - 0x99A]
0000252C C0C1 mulu.w D0, D1
0000252E 600E bra +0x10 /* 0000253E */
label00002530:
00002530 522D F59E addq.b [A5 - 0xA62], 1
00002534 122D F59E move.b D1, [A5 - 0xA62]
00002538 B22D F59F cmp.b D1, [A5 - 0xA61]
0000253C 62D2 bhi -0x2C /* 00002510 */
label0000253E:
0000253E 3F2D F5A2 move.w -[A7], [A5 - 0xA5E]
00002542 3F00 move.w -[A7], D0
00002544 A893 syscall MoveTo
label00002546:
00002546 4CDF 0307 movem.l D0,D1,D2,A0,A1, [A7]+
0000254A 4E75 rts
label0000254C:
0000254C 103C 000D move.b D0, 0xD /* '\r' */
label00002550:
00002550 321F move.w D1, [A7]+
00002552 48E7 E0C0 movem.l -[A7], D0,D1,D2,A0,A1
00002556 122D F64B move.b D1, [A5 - 0x9B5]
0000255A 4881 ext.w D1
0000255C 4441 neg.w D1
0000255E E949 lsl D1.w, 4
00002560 4441 neg.w D1
00002562 226D F744 movea.l A1, [A5 - 0x8BC]
00002566 43F1 1000 lea.l A1, [A1 + D1.w]
0000256A 4A91 tst.l [A1]
0000256C 6700 5192 beq +0x5194 /* 00007700 */
00002570 1229 000C move.b D1, [A1 + 0xC]
00002574 5301 subq.b D1, 1
00002576 6700 0108 beq +0x10A /* 00002680 */
0000257A 5301 subq.b D1, 1
0000257C 6700 000A beq +0xC /* 00002588 */
00002580 4EFA 5186 jmp [PC + 0x5186 /* 00007708 */]
label00002584:
00002584 103C 000D move.b D0, 0xD /* '\r' */
label00002588:
00002588 322D F648 move.w D1, [A5 - 0x9B8]
0000258C 2069 0008 movea.l A0, [A1 + 0x8]
00002590 4A2D F537 tst.b [A5 - 0xAC9]
00002594 6702 beq +0x4 /* 00002598 */
00002596 2050 movea.l A0, [A0]
label00002598:
00002598 0C00 000D cmpi.b D0, 0xD /* '\r' */
0000259C 6614 bne +0x16 /* 000025B2 */
0000259E 11BC 0023 1000 move.b [A0 + D1.w], 0x23 /* '#' */
000025A4 11BC 0023 1001 move.b [A0 + D1.w + 0x1], 0x23 /* '#' */
000025AA 611E bsr +0x20 /* 000025CA */
000025AC 426D F648 clr.w [A5 - 0x9B8]
000025B0 6012 bra +0x14 /* 000025C4 */
label000025B2:
000025B2 1180 1000 move.b [A0 + D1.w], D0
000025B6 526D F648 addq.w [A5 - 0x9B8], 1
000025BA 322D F648 move.w D1, [A5 - 0x9B8]
000025BE B26D F640 cmp.w D1, [A5 - 0x9C0]
000025C2 64C0 bcc -0x3E /* 00002584 */
label000025C4:
000025C4 4CDF 0307 movem.l D0,D1,D2,A0,A1, [A7]+
000025C8 4E75 rts
fn000025CA:
000025CA 4A2D F537 tst.b [A5 - 0xAC9]
000025CE 663E bne +0x40 /* 0000260E */
000025D0 2F09 move.l -[A7], A1
000025D2 558F subq.l A7, 2
000025D4 2F11 move.l -[A7], [A1]
000025D6 2F08 move.l -[A7], A0
000025D8 2F01 move.l -[A7], D1
000025DA 7000 moveq.l D0, 0x00
000025DC A122 syscall NewHandle, flags=1
000025DE 2348 0004 move.l [A1 + 0x4], A0
000025E2 2F08 move.l -[A7], A0
000025E4 4EAD 0062 jsr [A5 + 0x62 /* export_8 */]
000025E8 301F move.w D0, [A7]+
000025EA 661E bne +0x20 /* 0000260A */
000025EC 2257 movea.l A1, [A7]
000025EE 558F subq.l A7, 2
000025F0 2F11 move.l -[A7], [A1]
000025F2 2F29 0004 move.l -[A7], [A1 + 0x4]
000025F6 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
000025FA 301F move.w D0, [A7]+
000025FC 6600 000C bne +0xE /* 0000260A */
00002600 225F movea.l A1, [A7]+
00002602 2069 0004 movea.l A0, [A1 + 0x4]
00002606 A023 syscall DisposHandle/DisposeHandle
00002608 4E75 rts
label0000260A:
0000260A 4EFA 510A jmp [PC + 0x510A /* 00007716 */]
label0000260E:
0000260E 4267 clr.w -[A7]
00002610 2F11 move.l -[A7], [A1]
00002612 2F29 0008 move.l -[A7], [A1 + 0x8]
00002616 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
0000261A 301F move.w D0, [A7]+
0000261C 66EC bne -0x12 /* 0000260A */
0000261E 4E75 rts
00002620 700E moveq.l D0, 0x0E
00002622 4EBA 4E04 jsr [PC + 0x4E04 /* 00007428 */]
00002626 265F movea.l A3, [A7]+
00002628 362F 0008 move.w D3, [A7 + 0x8]
0000262C 3B43 F742 move.w [A5 - 0x8BE], D3
00002630 6A4A bpl +0x4C /* 0000267C */
00002632 4443 neg.w D3
00002634 0243 000F andi.w D3, 0xF
00002638 E94B lsl D3.w, 4
0000263A 4443 neg.w D3
0000263C 246D F744 movea.l A2, [A5 - 0x8BC]
00002640 45F2 3000 lea.l A2, [A2 + D3.w]
00002644 4A92 tst.l [A2]
00002646 6734 beq +0x36 /* 0000267C */
00002648 0C2A 0002 000C cmpi.b [A2 + 0xC], 0x2
0000264E 6600 002C bne +0x2E /* 0000267C */
00002652 2452 movea.l A2, [A2]
00002654 301F move.w D0, [A7]+
00002656 2F0A move.l -[A7], A2
00002658 3F00 move.w -[A7], D0
0000265A 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
0000265E 301F move.w D0, [A7]+
00002660 321F move.w D1, [A7]+
00002662 2F0A move.l -[A7], A2
00002664 3F01 move.w -[A7], D1
00002666 1F00 move.b -[A7], D0
00002668 4EAD 004A jsr [A5 + 0x4A /* export_5 */]
0000266C 301F move.w D0, [A7]+
0000266E 6708 beq +0xA /* 00002678 */
00002670 2F0A move.l -[A7], A2
00002672 3F00 move.w -[A7], D0
00002674 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
label00002678:
00002678 544F addq.w A7, 2
0000267A 4ED3 jmp [A3]
label0000267C:
0000267C 4EFA 508A jmp [PC + 0x508A /* 00007708 */]
label00002680:
00002680 2F03 move.l -[A7], D3
00002682 4EBA 60B0 jsr [PC + 0x60B0 /* 00008734 */]
00002686 261F move.l D3, [A7]+
00002688 4CDF 0307 movem.l D0,D1,D2,A0,A1, [A7]+
0000268C 4E75 rts
fn0000268E:
0000268E 321F move.w D1, [A7]+
label00002690:
00002690 526D F646 addq.w [A5 - 0x9BA], 1
00002694 48E7 F0C0 movem.l -[A7], D0,D1,D2,D3,A0,A1
00002698 0C00 000D cmpi.b D0, 0xD /* '\r' */
0000269C 6604 bne +0x6 /* 000026A2 */
0000269E 426D F646 clr.w [A5 - 0x9BA]
label000026A2:
000026A2 4EBA 6090 jsr [PC + 0x6090 /* 00008734 */]
000026A6 302D F646 move.w D0, [A5 - 0x9BA]
000026AA B02D F63E cmp.b D0, [A5 - 0x9C2]
000026AE 630A bls +0xC /* 000026BA */
000026B0 3B7C FFFF F646 move.w [A5 - 0x9BA], 0xFFFF
000026B6 700D moveq.l D0, 0x0D
000026B8 61D4 bsr -0x2A /* 0000268E */
label000026BA:
000026BA 4CDF 030F movem.l D0,D1,D2,D3,A0,A1, [A7]+
000026BE 4E75 rts
fn000026C0:
000026C0 48E7 E0C0 movem.l -[A7], D0,D1,D2,A0,A1
000026C4 426D F644 clr.w [A5 - 0x9BC]
000026C8 206D FFFC movea.l A0, [A5 - 0x4]
000026CC 2B68 0030 FC7E move.l [A5 - 0x382], [A0 + 0x30]
000026D2 3F3C 0002 move.w -[A7], 0x2
000026D6 302D FC7E move.w D0, [A5 - 0x382]
000026DA D06D F662 add.w D0, [A5 - 0x99E]
000026DE D06D F660 add.w D0, [A5 - 0x9A0]
000026E2 D06D F666 add.w D0, [A5 - 0x99A]
000026E6 3F00 move.w -[A7], D0
000026E8 3B40 FC7E move.w [A5 - 0x382], D0
000026EC A893 syscall MoveTo
000026EE 302D FC7E move.w D0, [A5 - 0x382]
000026F2 B06D F67C cmp.w D0, [A5 - 0x984]
000026F6 6346 bls +0x48 /* 0000273E */
000026F8 486D F678 pea.l [A5 - 0x988]
000026FC 4267 clr.w -[A7]
000026FE 302D F662 move.w D0, [A5 - 0x99E]
00002702 D06D F660 add.w D0, [A5 - 0x9A0]
00002706 D06D F666 add.w D0, [A5 - 0x99A]
0000270A 4440 neg.w D0
0000270C 3F00 move.w -[A7], D0
0000270E 2F2D F680 move.l -[A7], [A5 - 0x980]
00002712 A8EF syscall ScrollRect
00002714 42A7 clr.l -[A7]
00002716 A878 syscall SetOrigin
00002718 3F3C 0002 move.w -[A7], 0x2
0000271C 302D FC7E move.w D0, [A5 - 0x382]
00002720 906D F662 sub.w D0, [A5 - 0x99E]
00002724 906D F660 sub.w D0, [A5 - 0x9A0]
00002728 906D F666 sub.w D0, [A5 - 0x99A]
0000272C B06D F67C cmp.w D0, [A5 - 0x984]
00002730 6508 bcs +0xA /* 0000273A */
00002732 302D F67C move.w D0, [A5 - 0x984]
00002736 906D F662 sub.w D0, [A5 - 0x99E]
label0000273A:
0000273A 3F00 move.w -[A7], D0
0000273C A893 syscall MoveTo
label0000273E:
0000273E 206D FFFC movea.l A0, [A5 - 0x4]
00002742 2B68 0030 FC7E move.l [A5 - 0x382], [A0 + 0x30]
00002748 4CDF 0307 movem.l D0,D1,D2,A0,A1, [A7]+
0000274C 4E75 rts
fn0000274E:
0000274E 48E7 E0C0 movem.l -[A7], D0,D1,D2,A0,A1
00002752 1020 move.b D0, -[A0]
00002754 4267 clr.w -[A7]
00002756 3F00 move.w -[A7], D0
00002758 1E80 move.b [A7], D0
0000275A A88D syscall CharWidth
0000275C 4457 neg.w [A7]
0000275E 4267 clr.w -[A7]
00002760 A894 syscall Move
00002762 206D FFFC movea.l A0, [A5 - 0x4]
00002766 2B68 0030 FC7E move.l [A5 - 0x382], [A0 + 0x30]
0000276C 302D FC7E move.w D0, [A5 - 0x382]
00002770 906D F660 sub.w D0, [A5 - 0x9A0]
00002774 3B40 F610 move.w [A5 - 0x9F0], D0
00002778 3B6D FC80 F612 move.w [A5 - 0x9EE], [A5 - 0x380]
0000277E 302D FC7E move.w D0, [A5 - 0x382]
00002782 D06D F662 add.w D0, [A5 - 0x99E]
00002786 3B40 F614 move.w [A5 - 0x9EC], D0
0000278A 302D FC80 move.w D0, [A5 - 0x380]
0000278E D06D F664 add.w D0, [A5 - 0x99C]
00002792 3B40 F616 move.w [A5 - 0x9EA], D0
00002796 486D F610 pea.l [A5 - 0x9F0]
0000279A A8A3 syscall EraseRect
0000279C 536D F644 subq.w [A5 - 0x9BC], 1
000027A0 206D FFFC movea.l A0, [A5 - 0x4]
000027A4 2B68 0030 FC7E move.l [A5 - 0x382], [A0 + 0x30]
000027AA 4CDF 0307 movem.l D0,D1,D2,A0,A1, [A7]+
000027AE 4E75 rts
fn000027B0:
000027B0 4EBA 0064 jsr [PC + 0x64 /* 00002816 */]
000027B4 2F01 move.l -[A7], D1
label000027B6:
000027B6 720C moveq.l D1, 0x0C
000027B8 D2AD F720 add.l D1, [A5 - 0x8E0]
label000027BC:
000027BC 612E bsr +0x30 /* 000027EC */
000027BE 6612 bne +0x14 /* 000027D2 */
000027C0 B2AD F720 cmp.l D1, [A5 - 0x8E0]
000027C4 64F6 bcc -0x8 /* 000027BC */
000027C6 4A2D F535 tst.b [A5 - 0xACB]
000027CA 66EA bne -0x14 /* 000027B6 */
000027CC 4EBA 00AC jsr [PC + 0xAC /* 0000287A */]
000027D0 60E4 bra -0x1A /* 000027B6 */
label000027D2:
000027D2 6104 bsr +0x6 /* 000027D8 */
000027D4 221F move.l D1, [A7]+
000027D6 4E75 rts
fn000027D8:
000027D8 4A2D F535 tst.b [A5 - 0xACB]
000027DC 660C bne +0xE /* 000027EA */
000027DE 082D 0000 F5F4 btst.b [A5 - 0xA0C], 0x0
000027E4 6704 beq +0x6 /* 000027EA */
000027E6 4EBA 0092 jsr [PC + 0x92 /* 0000287A */]
label000027EA:
000027EA 4E75 rts
fn000027EC:
000027EC 48E7 60C0 movem.l -[A7], D1,D2,A0,A1
000027F0 558F subq.l A7, 2
000027F2 3F3C 0028 move.w -[A7], 0x28 /* '(' */
000027F6 486D F71A pea.l [A5 - 0x8E6]
000027FA 4EBA 15E6 jsr [PC + 0x15E6 /* 00003DE2 */]
000027FE A970 syscall GetNextEvent
00002800 4A1F tst.b [A7]+
00002802 670C beq +0xE /* 00002810 */
00002804 4EBA 00BE jsr [PC + 0xBE /* 000028C4 */]
00002808 6706 beq +0x8 /* 00002810 */
0000280A 7000 moveq.l D0, 0x00
0000280C 102D F71F move.b D0, [A5 - 0x8E1]
label00002810:
00002810 4CDF 0306 movem.l D1,D2,A0,A1, [A7]+
00002814 4E75 rts
fn00002816:
00002816 4A2D F535 tst.b [A5 - 0xACB]
0000281A 6632 bne +0x34 /* 0000284E */
0000281C 08AD 0000 F5F4 bclr.b [A5 - 0xA0C], 0x0
00002822 48E7 60C0 movem.l -[A7], D1,D2,A0,A1
00002826 6148 bsr +0x4A /* 00002870 */
00002828 6620 bne +0x22 /* 0000284A */
0000282A 202D FC7E move.l D0, [A5 - 0x382]
0000282E 2B40 F650 move.l [A5 - 0x9B0], D0
00002832 2B40 F654 move.l [A5 - 0x9AC], D0
00002836 526D F654 addq.w [A5 - 0x9AC], 1
0000283A 302D F664 move.w D0, [A5 - 0x99C]
0000283E D16D F656 add.w [A5 - 0x9AA], D0
00002842 302D FD30 move.w D0, [A5 - 0x2D0]
00002846 916D F650 sub.w [A5 - 0x9B0], D0
label0000284A:
0000284A 4CDF 0306 movem.l D1,D2,A0,A1, [A7]+
label0000284E:
0000284E 4E75 rts
00002850 61C4 bsr -0x3A /* 00002816 */
00002852 2F01 move.l -[A7], D1
label00002854:
00002854 720C moveq.l D1, 0x0C
00002856 D2AD F720 add.l D1, [A5 - 0x8E0]
label0000285A:
0000285A 4EBA 00A2 jsr [PC + 0xA2 /* 000028FE */]
0000285E 6636 bne +0x38 /* 00002896 */
00002860 B2AD F720 cmp.l D1, [A5 - 0x8E0]
00002864 64F4 bcc -0xA /* 0000285A */
00002866 4A2D F535 tst.b [A5 - 0xACB]
0000286A 66E8 bne -0x16 /* 00002854 */
0000286C 610C bsr +0xE /* 0000287A */
0000286E 60E4 bra -0x1A /* 00002854 */
fn00002870:
00002870 206D FFFC movea.l A0, [A5 - 0x4]
00002874 B1ED F774 cmpa.l A0, [A5 - 0x88C]
00002878 4E75 rts
fn0000287A:
0000287A 48E7 E0C0 movem.l -[A7], D0,D1,D2,A0,A1
0000287E 61F0 bsr -0xE /* 00002870 */
00002880 660C bne +0xE /* 0000288E */
00002882 086D 0000 F5F4 bchg.b [A5 - 0xA0C], 0x0
00002888 486D F650 pea.l [A5 - 0x9B0]
0000288C A8A4 syscall InvertRect
label0000288E:
0000288E 4CDF 0307 movem.l D0,D1,D2,A0,A1, [A7]+
00002892 4E75 rts
fn00002894:
00002894 2F01 move.l -[A7], D1
label00002896:
00002896 6100 FF40 bsr -0xBE /* 000027D8 */
0000289A 221F move.l D1, [A7]+
0000289C 4E75 rts
fn0000289E:
0000289E 48E7 3FFF movem.l -[A7], D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4,A5,A6,A7
000028A2 41ED F71A lea.l A0, [A5 - 0x8E6]
000028A6 30FC 0010 move.w [A0]+, 0x10
000028AA 10ED F202 move.b [A0]+, [A5 - 0xDFE]
000028AE 10ED F32B move.b [A0]+, [A5 - 0xCD5]
000028B2 30C1 move.w [A0]+, D1
000028B4 20F8 016A move.l [A0]+, [0x0000016A /* Ticks */]
000028B8 4258 clr.w [A0]+
000028BA 30C0 move.w [A0]+, D0
000028BC 6106 bsr +0x8 /* 000028C4 */
000028BE 4CDF FFFC movem.l D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4,A5,A6,A7, [A7]+
000028C2 4E75 rts
fn000028C4:
000028C4 202D F734 move.l D0, [A5 - 0x8CC]
000028C8 672E beq +0x30 /* 000028F8 */
000028CA 487A 001A pea.l [PC + 0x1A /* 000028E6, value 0x302DF71A */]
000028CE 2F00 move.l -[A7], D0
000028D0 41FA D73C lea.l A0, [PC - 0x28C4 /* 0000000E, value 0x4EFA0064 */]
000028D4 2008 move.l D0, A0
000028D6 222D F78A move.l D1, [A5 - 0x876]
000028DA 43ED F734 lea.l A1, [A5 - 0x8CC]
000028DE 41ED F71A lea.l A0, [A5 - 0x8E6]
000028E2 7401 moveq.l D2, 0x01
000028E4 4E75 rts
000028E6 302D F71A move.w D0, [A5 - 0x8E6]
000028EA 0C40 4000 cmpi.w D0, 0x4000 /* '@\0' */
000028EE 6508 bcs +0xA /* 000028F8 */
000028F0 4EBA 2FD2 jsr [PC + 0x2FD2 /* 000058C4 */]
000028F4 426D F71A clr.w [A5 - 0x8E6]
label000028F8:
000028F8 4A6D F71A tst.w [A5 - 0x8E6]
000028FC 4E75 rts
export_58:
fn000028FE:
000028FE 48E7 60C0 movem.l -[A7], D1,D2,A0,A1
label00002902:
00002902 558F subq.l A7, 2
00002904 3F3C FFFF move.w -[A7], 0xFFFF
00002908 486D F71A pea.l [A5 - 0x8E6]
0000290C 4EBA 14D4 jsr [PC + 0x14D4 /* 00003DE2 */]
00002910 202D F712 move.l D0, [A5 - 0x8EE]
00002914 670A beq +0xC /* 00002920 */
00002916 2F00 move.l -[A7], D0
00002918 2F2D F716 move.l -[A7], [A5 - 0x8EA]
0000291C A860 syscall WaitNextEvent
0000291E 6002 bra +0x4 /* 00002922 */
label00002920:
00002920 A970 syscall GetNextEvent
label00002922:
00002922 4A1F tst.b [A7]+
00002924 6604 bne +0x6 /* 0000292A */
00002926 426D F71A clr.w [A5 - 0x8E6]
label0000292A:
0000292A 6198 bsr -0x66 /* 000028C4 */
0000292C 202D F5CA move.l D0, [A5 - 0xA36]
00002930 6704 beq +0x6 /* 00002936 */
00002932 2040 movea.l A0, D0
00002934 4E90 jsr [A0]
label00002936:
00002936 4A6D F71A tst.w [A5 - 0x8E6]
0000293A 6700 0108 beq +0x10A /* 00002A44 */
0000293E 558F subq.l A7, 2
00002940 486D F71A pea.l [A5 - 0x8E6]
00002944 A97F syscall IsDialogEvent
00002946 4A1F tst.b [A7]+
00002948 6052 bra +0x54 /* 0000299C */
0000294A 302D F71A move.w D0, [A5 - 0x8E6]
0000294E 0C40 0008 cmpi.w D0, 0x8
00002952 6726 beq +0x28 /* 0000297A */
00002954 0C40 0003 cmpi.w D0, 0x3
00002958 6742 beq +0x44 /* 0000299C */
0000295A 0C40 0005 cmpi.w D0, 0x5
0000295E 673C beq +0x3E /* 0000299C */
00002960 0C40 0002 cmpi.w D0, 0x2
00002964 6732 beq +0x34 /* 00002998 */
00002966 0C40 0001 cmpi.w D0, 0x1
0000296A 660E bne +0x10 /* 0000297A */
0000296C 4267 clr.w -[A7]
0000296E 2F2D F724 move.l -[A7], [A5 - 0x8DC]
00002972 486D F5F6 pea.l [A5 - 0xA0A]
00002976 A92C syscall FindWindow
00002978 301F move.w D0, [A7]+
label0000297A:
0000297A 558F subq.l A7, 2
0000297C 486D F71A pea.l [A5 - 0x8E6]
00002980 486D F60C pea.l [A5 - 0x9F4]
00002984 486D F60A pea.l [A5 - 0x9F6]
00002988 A980 syscall DialogSelect
0000298A 4A1F tst.b [A7]+
0000298C 6600 FF74 bne -0x8A /* 00002902 */
00002990 4A2D F64A tst.b [A5 - 0x9B6]
00002994 6B00 1248 bmi +0x124A /* 00003BDE */
label00002998:
00002998 426D F71A clr.w [A5 - 0x8E6]
label0000299C:
0000299C 302D F71A move.w D0, [A5 - 0x8E6]
000029A0 0C40 0011 cmpi.w D0, 0x11
000029A4 6400 000C bcc +0xE /* 000029B2 */
000029A8 D040 add.w D0, D0
000029AA 303B 001E move.w D0, [PC + D0.w + 0x1E]
000029AE 4EFB 001A jmp [PC + D0.w + 0x1A]
label000029B2:
000029B2 0C40 0017 cmpi.w D0, 0x17
000029B6 660E bne +0x10 /* 000029C6 */
000029B8 4267 clr.w -[A7]
000029BA 486D F71A pea.l [A5 - 0x8E6]
000029BE 303C 021B move.w D0, 0x21B
000029C2 A816 syscall Pack8
000029C4 301F move.w D0, [A7]+
label000029C6:
000029C6 6000 FF3A bra -0xC4 /* 00002902 */
000029CA 007A 05C8 2AAC ori.w [PC + 0x2AAC /* 00005478, value 0xF724 */], 0x5C8
000029D0 0422 FF38 subi.b -[A2], 0x38 /* '8' */
000029D4 0422 025C subi.b -[A2], 0x5C /* '\\' */
000029D8 03EC 1146 bset [A4 + 0x1146], D1
000029DC FF38 .extension 0xF38 // unimplemented
000029DE FF38 .extension 0xF38 // unimplemented
000029E0 FF38 .extension 0xF38 // unimplemented
000029E2 FF38 .extension 0xF38 // unimplemented
000029E4 FF38 .extension 0xF38 // unimplemented
000029E6 FF38 .extension 0xF38 // unimplemented
000029E8 0022 06B0 ori.b -[A2], 0xB0
000029EC 487A FF14 pea.l [PC - 0xEC /* 00002902, value 0x558F3F3C */]
000029F0 4A2D F73A tst.b [A5 - 0x8C6]
000029F4 671C beq +0x1E /* 00002A12 */
000029F6 223C 0013 0004 move.l D1, 0x130004
000029FC 206D F636 movea.l A0, [A5 - 0x9CA]
00002A00 0C2D 0001 F71C cmpi.b [A5 - 0x8E4], 0x1
00002A06 6604 bne +0x6 /* 00002A0C */
00002A08 322D F71E move.w D1, [A5 - 0x8E2]
label00002A0C:
00002A0C 7002 moveq.l D0, 0x02
00002A0E 4EBA 1D96 jsr [PC + 0x1D96 /* 000047A6 */]
label00002A12:
00002A12 42A7 clr.l -[A7]
00002A14 A924 syscall FrontWindow
00002A16 201F move.l D0, [A7]+
00002A18 6710 beq +0x12 /* 00002A2A */
00002A1A 2040 movea.l A0, D0
00002A1C 4EBA 115C jsr [PC + 0x115C /* 00003B7A */]
00002A20 6708 beq +0xA /* 00002A2A */
00002A22 4EBA 0FF8 jsr [PC + 0xFF8 /* 00003A1C */]
00002A26 4EBA 12CC jsr [PC + 0x12CC /* 00003CF4 */]
label00002A2A:
00002A2A 4E75 rts
00002A2C 2B78 016A F5E8 move.l [A5 - 0xA18], [0x0000016A /* Ticks */]
00002A32 4A80 tst.l D0
00002A34 6A04 bpl +0x6 /* 00002A3A */
00002A36 4480 neg.l D0
00002A38 6004 bra +0x6 /* 00002A3E */
label00002A3A:
00002A3A C0FC mulu.w D0, 0xFFFFFFFFFFFFFFFF
00002A3C 003C 2B40 ori.b ccr, 64
// begin alternate branch 00002A3E-00002A42
label00002A3E:
00002A3E 2B40 F5EC move.l [A5 - 0xA14], D0
// end alternate branch 00002A3E-00002A42
label00002A3E: // (misaligned)
00002A40 F5EC .extension 0x5EC // unimplemented
00002A42 4E75 rts
label00002A44:
00002A44 4AAD F712 tst.l [A5 - 0x8EE]
00002A48 6602 bne +0x4 /* 00002A4C */
00002A4A A9B4 syscall SystemTask
label00002A4C:
00002A4C 4A2D F73A tst.b [A5 - 0x8C6]
00002A50 6726 beq +0x28 /* 00002A78 */
00002A52 082D 0004 F5F1 btst.b [A5 - 0xA0F], 0x4
00002A58 671E beq +0x20 /* 00002A78 */
00002A5A 2038 016A move.l D0, [0x0000016A /* Ticks */]
00002A5E 90AD F5E8 sub.l D0, [A5 - 0xA18]
00002A62 B0AD F5EC cmp.l D0, [A5 - 0xA14]
00002A66 6510 bcs +0x12 /* 00002A78 */
00002A68 2B78 016A F5E8 move.l [A5 - 0xA18], [0x0000016A /* Ticks */]
00002A6E 2238 016A move.l D1, [0x0000016A /* Ticks */]
00002A72 7005 moveq.l D0, 0x05
00002A74 4EBA 1D4A jsr [PC + 0x1D4A /* 000047C0 */]
label00002A78:
00002A78 4EBA 10FC jsr [PC + 0x10FC /* 00003B76 */]
00002A7C 671A beq +0x1C /* 00002A98 */
00002A7E E949 lsl D1.w, 4
00002A80 2031 1008 move.l D0, [A1 + D1.w + 0x8]
00002A84 6712 beq +0x14 /* 00002A98 */
00002A86 2040 movea.l A0, D0
00002A88 2050 movea.l A0, [A0]
00002A8A 2F28 0008 move.l -[A7], [A0 + 0x8]
00002A8E 4EBA 02C8 jsr [PC + 0x2C8 /* 00002D58 */]
00002A92 A9DA syscall TEIdle
00002A94 6100 F53E bsr -0xAC0 /* 00001FD4 */
label00002A98:
00002A98 4A2D F73A tst.b [A5 - 0x8C6]
00002A9C 6700 04EC beq +0x4EE /* 00002F8A */
00002AA0 4AAD F5B6 tst.l [A5 - 0xA4A]
00002AA4 6608 bne +0xA /* 00002AAE */
00002AA6 41FA D75A lea.l A0, [PC - 0x28A6 /* 00000202, value 0x41EDF5D6 */]
00002AAA 2B48 F5B6 move.l [A5 - 0xA4A], A0
label00002AAE:
00002AAE 4EBA 1C86 jsr [PC + 0x1C86 /* 00004736 */]
00002AB2 2038 016A move.l D0, [0x0000016A /* Ticks */]
00002AB6 B0AD FD62 cmp.l D0, [A5 - 0x29E]
00002ABA 6500 04CE bcs +0x4D0 /* 00002F8A */
00002ABE 5C80 addq.l D0, 6
00002AC0 2B40 FD62 move.l [A5 - 0x29E], D0
00002AC4 4EBA 1EB0 jsr [PC + 0x1EB0 /* 00004976 */]
00002AC8 6610 bne +0x12 /* 00002ADA */
00002ACA 45ED F524 lea.l A2, [A5 - 0xADC]
00002ACE 4A52 tst.w [A2]
00002AD0 6700 04B8 beq +0x4BA /* 00002F8A */
00002AD4 7200 moveq.l D1, 0x00
00002AD6 4EFA 0028 jmp [PC + 0x28 /* 00002B00 */]
label00002ADA:
00002ADA 4267 clr.w -[A7]
00002ADC 2F2D F724 move.l -[A7], [A5 - 0x8DC]
00002AE0 486D F778 pea.l [A5 - 0x888]
00002AE4 A92C syscall FindWindow
00002AE6 7200 moveq.l D1, 0x00
00002AE8 575F subq.w [A7]+, 3
00002AEA 660A bne +0xC /* 00002AF6 */
00002AEC 206D F778 movea.l A0, [A5 - 0x888]
00002AF0 4EBA 1088 jsr [PC + 0x1088 /* 00003B7A */]
00002AF4 48C1 ext.l D1
label00002AF6:
00002AF6 45ED F524 lea.l A2, [A5 - 0xADC]
00002AFA B252 cmp.w D1, [A2]
00002AFC 6700 0014 beq +0x16 /* 00002B12 */
label00002B00:
00002B00 34C1 move.w [A2]+, D1
00002B02 660A bne +0xC /* 00002B0E */
00002B04 0081 0014 0000 ori.l D1, 0x140000
00002B0A 4EFA 00A6 jmp [PC + 0xA6 /* 00002BB2 */]
label00002B0E:
00002B0E 34BC AA55 move.w [A2], 0xAA55
label00002B12:
00002B12 246D F778 movea.l A2, [A5 - 0x888]
00002B16 4A41 tst.w D1
00002B18 6700 009C beq +0x9E /* 00002BB6 */
00002B1C 598F subq.l A7, 4
00002B1E 2F0F move.l -[A7], A7
00002B20 A874 syscall GetPort
00002B22 2F0A move.l -[A7], A2
00002B24 A873 syscall SetPort
00002B26 2B6D F724 F778 move.l [A5 - 0x888], [A5 - 0x8DC]
00002B2C 486D F778 pea.l [A5 - 0x888]
00002B30 A871 syscall GlobalToLocal
00002B32 A873 syscall SetPort
00002B34 4267 clr.w -[A7]
00002B36 2F2D F778 move.l -[A7], [A5 - 0x888]
00002B3A 2F0A move.l -[A7], A2
00002B3C 486D F5F6 pea.l [A5 - 0xA0A]
00002B40 A96C syscall FindControl
00002B42 361F move.w D3, [A7]+
00002B44 6712 beq +0x14 /* 00002B58 */
00002B46 206D F5F6 movea.l A0, [A5 - 0xA0A]
00002B4A 2050 movea.l A0, [A0]
00002B4C 7200 moveq.l D1, 0x00
00002B4E 3228 0024 move.w D1, [A0 + 0x24]
00002B52 0241 1FFF andi.w D1, 0x1FFF
00002B56 604A bra +0x4C /* 00002BA2 */
label00002B58:
00002B58 206D F748 movea.l A0, [A5 - 0x8B8]
00002B5C 7200 moveq.l D1, 0x00
00002B5E 122A 0099 move.b D1, [A2 + 0x99]
00002B62 E949 lsl D1.w, 4
00002B64 41F0 1004 lea.l A0, [A0 + D1.w + 0x4]
label00002B68:
00002B68 2210 move.l D1, [A0]
00002B6A 6736 beq +0x38 /* 00002BA2 */
00002B6C 2041 movea.l A0, D1
00002B6E 2F08 move.l -[A7], A0
00002B70 2050 movea.l A0, [A0]
00002B72 2068 0008 movea.l A0, [A0 + 0x8]
00002B76 4EBA 2456 jsr [PC + 0x2456 /* 00004FCE */]
00002B7A 4227 clr.b -[A7]
00002B7C 2F2D F778 move.l -[A7], [A5 - 0x888]
00002B80 486D F610 pea.l [A5 - 0x9F0]
00002B84 A8AD syscall PtInRect
00002B86 4A1F tst.b [A7]+
00002B88 205F movea.l A0, [A7]+
00002B8A 2050 movea.l A0, [A0]
00002B8C 67DA beq -0x24 /* 00002B68 */
00002B8E 1228 0006 move.b D1, [A0 + 0x6]
00002B92 700C moveq.l D0, 0x0C
00002B94 5301 subq.b D1, 1
00002B96 C001 and.b D0, D1
00002B98 66CE bne -0x30 /* 00002B68 */
00002B9A 7200 moveq.l D1, 0x00
00002B9C 3228 0004 move.w D1, [A0 + 0x4]
00002BA0 4441 neg.w D1
label00002BA2:
00002BA2 45ED F526 lea.l A2, [A5 - 0xADA]
00002BA6 B252 cmp.w D1, [A2]
00002BA8 670C beq +0xE /* 00002BB6 */
00002BAA 3481 move.w [A2], D1
00002BAC 0081 0015 0000 ori.l D1, 0x150000
label00002BB2:
00002BB2 4EBA 2DCA jsr [PC + 0x2DCA /* 0000597E */]
label00002BB6:
00002BB6 4EFA 03D2 jmp [PC + 0x3D2 /* 00002F8A */]
fn00002BBA:
00002BBA 206D F62E movea.l A0, [A5 - 0x9D2]
fn00002BBE:
00002BBE 2F08 move.l -[A7], A0
00002BC0 4EBA 0170 jsr [PC + 0x170 /* 00002D32 */]
00002BC4 205F movea.l A0, [A7]+
00002BC6 41E8 008C lea.l A0, [A0 + 0x8C]
label00002BCA:
00002BCA 2010 move.l D0, [A0]
00002BCC 6602 bne +0x4 /* 00002BD0 */
00002BCE 4E75 rts
label00002BD0:
00002BD0 2240 movea.l A1, D0
00002BD2 2051 movea.l A0, [A1]
00002BD4 2228 0024 move.l D1, [A0 + 0x24]
00002BD8 0281 E000 7FFF andi.l D1, 0xE0007FFF
00002BDE 0C81 0000 005A cmpi.l D1, 0x5A /* 'Z' */
00002BE4 66E4 bne -0x1A /* 00002BCA */
00002BE6 2F09 move.l -[A7], A1
00002BE8 1228 0011 move.b D1, [A0 + 0x11]
00002BEC 41E8 0008 lea.l A0, [A0 + 0x8]
00002BF0 43ED F626 lea.l A1, [A5 - 0x9DA]
00002BF4 2F09 move.l -[A7], A1
00002BF6 2F3C 0010 0010 move.l -[A7], 0x100010
00002BFC 2F09 move.l -[A7], A1
00002BFE 2F3C FFFC FFFC move.l -[A7], 0xFFFCFFFC
00002C04 22D8 move.l [A1]+, [A0]+
00002C06 22D8 move.l [A1]+, [A0]+
00002C08 5201 addq.b D1, 1
00002C0A 6606 bne +0x8 /* 00002C12 */
00002C0C 486D FFE4 pea.l [A5 - 0x1C]
00002C10 A89D syscall PenPat
label00002C12:
00002C12 A8A9 syscall InsetRect
00002C14 2F3C 0003 0003 move.l -[A7], 0x30003
00002C1A A89B syscall PenSize
00002C1C A8B0 syscall FrameRoundRect
00002C1E A89E syscall PenNormal
00002C20 225F movea.l A1, [A7]+
00002C22 2051 movea.l A0, [A1]
00002C24 60A4 bra -0x5A /* 00002BCA */
00002C26 206D F71C movea.l A0, [A5 - 0x8E4]
00002C2A B1ED F82C cmpa.l A0, [A5 - 0x7D4]
00002C2E 6606 bne +0x8 /* 00002C36 */
00002C30 4EAD 1522 jsr [A5 + 0x1522 /* export_672 */]
00002C34 600A bra +0xC /* 00002C40 */
label00002C36:
00002C36 B1ED F774 cmpa.l A0, [A5 - 0x88C]
00002C3A 6600 0040 bne +0x42 /* 00002C7C */
00002C3E 6104 bsr +0x6 /* 00002C44 */
label00002C40:
00002C40 6000 FCC0 bra -0x33E /* 00002902 */
fn00002C44:
00002C44 598F subq.l A7, 4
00002C46 2F0F move.l -[A7], A7
00002C48 A874 syscall GetPort
00002C4A 2F2D F774 move.l -[A7], [A5 - 0x88C]
00002C4E A873 syscall SetPort
00002C50 2F2D F774 move.l -[A7], [A5 - 0x88C]
00002C54 A922 syscall BeginUpdate
00002C56 4EBA 0100 jsr [PC + 0x100 /* 00002D58 */]
00002C5A 487A 2EE6 pea.l [PC + 0x2EE6 /* 00005B42, value 0x0 */]
00002C5E A87B syscall ClipRect
00002C60 A89E syscall PenNormal
00002C62 2F2D F774 move.l -[A7], [A5 - 0x88C]
00002C66 A904 syscall DrawGrowIcon
00002C68 6100 F36A bsr -0xC94 /* 00001FD4 */
00002C6C 2F2D F650 move.l -[A7], [A5 - 0x9B0]
00002C70 A893 syscall MoveTo
00002C72 2F2D F774 move.l -[A7], [A5 - 0x88C]
00002C76 A923 syscall EndUpdate
00002C78 A873 syscall SetPort
00002C7A 4E75 rts
label00002C7C:
00002C7C 3B7C 270F F524 move.w [A5 - 0xADC], 0x270F
00002C82 4EBA 0EF6 jsr [PC + 0xEF6 /* 00003B7A */]
00002C86 6700 FC7A beq -0x384 /* 00002902 */
00002C8A 7000 moveq.l D0, 0x00
00002C8C 1028 0099 move.b D0, [A0 + 0x99]
00002C90 6700 FC70 beq -0x38E /* 00002902 */
00002C94 2B48 F636 move.l [A5 - 0x9CA], A0
00002C98 E948 lsl D0.w, 4
00002C9A 206D F748 movea.l A0, [A5 - 0x8B8]
00002C9E 4AB0 0000 tst.l [A0 + D0.w]
00002CA2 6700 FC5E beq -0x3A0 /* 00002902 */
00002CA6 598F subq.l A7, 4
00002CA8 2F0F move.l -[A7], A7
00002CAA A874 syscall GetPort
00002CAC 2F2D F636 move.l -[A7], [A5 - 0x9CA]
00002CB0 2B57 F62E move.l [A5 - 0x9D2], [A7]
00002CB4 A873 syscall SetPort
00002CB6 2F2D F636 move.l -[A7], [A5 - 0x9CA]
00002CBA A922 syscall BeginUpdate
00002CBC 4EBA 2BD4 jsr [PC + 0x2BD4 /* 00005892 */]
00002CC0 487A 2E80 pea.l [PC + 0x2E80 /* 00005B42, value 0x0 */]
00002CC4 A8A3 syscall EraseRect
00002CC6 4EBA 0090 jsr [PC + 0x90 /* 00002D58 */]
00002CCA 4EBA 0098 jsr [PC + 0x98 /* 00002D64 */]
00002CCE 4EBA 2BC2 jsr [PC + 0x2BC2 /* 00005892 */]
00002CD2 2F2D F636 move.l -[A7], [A5 - 0x9CA]
00002CD6 A969 syscall DrawControls
00002CD8 206D F636 movea.l A0, [A5 - 0x9CA]
00002CDC 0828 0003 009A btst.b [A0 + 0x9A], 0x3
00002CE2 6706 beq +0x8 /* 00002CEA */
00002CE4 4EBA 100E jsr [PC + 0x100E /* 00003CF4 */]
00002CE8 6134 bsr +0x36 /* 00002D1E */
label00002CEA:
00002CEA 2F2D F636 move.l -[A7], [A5 - 0x9CA]
00002CEE A923 syscall EndUpdate
00002CF0 4EBA 2BA0 jsr [PC + 0x2BA0 /* 00005892 */]
00002CF4 206D F636 movea.l A0, [A5 - 0x9CA]
00002CF8 4EBA 0D22 jsr [PC + 0xD22 /* 00003A1C */]
00002CFC 4EBA 0FF6 jsr [PC + 0xFF6 /* 00003CF4 */]
00002D00 206D F636 movea.l A0, [A5 - 0x9CA]
00002D04 0828 0003 009A btst.b [A0 + 0x9A], 0x3
00002D0A 6602 bne +0x4 /* 00002D0E */
00002D0C 6110 bsr +0x12 /* 00002D1E */
label00002D0E:
00002D0E 487A 0DD4 pea.l [PC + 0xDD4 /* 00003AE4, value 0x140002 */]
00002D12 A899 syscall SetPenState
00002D14 245F movea.l A2, [A7]+
00002D16 4EBA 15E0 jsr [PC + 0x15E0 /* 000042F8 */]
00002D1A 6000 FBE6 bra -0x418 /* 00002902 */
fn00002D1E:
00002D1E 223C 0005 0000 move.l D1, 0x50000
00002D24 206D F636 movea.l A0, [A5 - 0x9CA]
00002D28 1228 0099 move.b D1, [A0 + 0x99]
00002D2C 7002 moveq.l D0, 0x02
00002D2E 4EFA 1A76 jmp [PC + 0x1A76 /* 000047A6 */]
fn00002D32:
00002D32 206D FFFC movea.l A0, [A5 - 0x4]
00002D36 2F28 0014 move.l -[A7], [A0 + 0x14]
00002D3A 2F28 0010 move.l -[A7], [A0 + 0x10]
00002D3E 1028 0098 move.b D0, [A0 + 0x98]
00002D42 6704 beq +0x6 /* 00002D48 */
00002D44 5100 subq.b D0, 8
00002D46 6608 bne +0xA /* 00002D50 */
label00002D48:
00002D48 04AF 000F 000F 0004 subi.l [A7 + 0x4], 0xF000F
label00002D50:
00002D50 4857 pea.l [A7]
00002D52 A87B syscall ClipRect
00002D54 508F addq.l A7, 8
00002D56 4E75 rts
fn00002D58:
00002D58 61D8 bsr -0x26 /* 00002D32 */
00002D5A 487A 0D88 pea.l [PC + 0xD88 /* 00003AE4, value 0x140002 */]
00002D5E A898 syscall GetPenState
00002D60 A89E syscall PenNormal
00002D62 4E75 rts
fn00002D64:
00002D64 266D F636 movea.l A3, [A5 - 0x9CA]
00002D68 7000 moveq.l D0, 0x00
00002D6A 102B 0099 move.b D0, [A3 + 0x99]
00002D6E 6700 0044 beq +0x46 /* 00002DB4 */
00002D72 E948 lsl D0.w, 4
00002D74 206D F748 movea.l A0, [A5 - 0x8B8]
00002D78 2030 0004 move.l D0, [A0 + D0.w + 0x4]
00002D7C 6700 0036 beq +0x38 /* 00002DB4 */
00002D80 2F00 move.l -[A7], D0
label00002D82:
00002D82 201F move.l D0, [A7]+
00002D84 672E beq +0x30 /* 00002DB4 */
00002D86 2040 movea.l A0, D0
00002D88 2050 movea.l A0, [A0]
00002D8A 2F10 move.l -[A7], [A0]
00002D8C 2468 0008 movea.l A2, [A0 + 0x8]
00002D90 1628 0006 move.b D3, [A0 + 0x6]
00002D94 204A movea.l A0, A2
00002D96 4EBA 2236 jsr [PC + 0x2236 /* 00004FCE */]
00002D9A 558F subq.l A7, 2
00002D9C 486D F610 pea.l [A5 - 0x9F0]
00002DA0 2F2B 0018 move.l -[A7], [A3 + 0x18]
00002DA4 A8E9 syscall RectInRgn
00002DA6 4A1F tst.b [A7]+
00002DA8 67D8 beq -0x26 /* 00002D82 */
00002DAA 4EBA 22FE jsr [PC + 0x22FE /* 000050AA */]
00002DAE 4EBA 21BC jsr [PC + 0x21BC /* 00004F6C */]
00002DB2 60CE bra -0x30 /* 00002D82 */
label00002DB4:
00002DB4 4E75 rts
00002DB6 202D F71C move.l D0, [A5 - 0x8E4]
00002DBA 6A1E bpl +0x20 /* 00002DDA */
00002DBC 3F3C 0002 move.w -[A7], 0x2
00002DC0 A9E9 syscall Pack2
00002DC2 558F subq.l A7, 2
00002DC4 2F3C 0060 0040 move.l -[A7], 0x600040 /* '`\0@' */
00002DCA 2F2D F71C move.l -[A7], [A5 - 0x8E4]
00002DCE 4267 clr.w -[A7]
00002DD0 A9E9 syscall Pack2
00002DD2 301F move.w D0, [A7]+
00002DD4 3F3C 0004 move.w -[A7], 0x4
00002DD8 A9E9 syscall Pack2
label00002DDA:
00002DDA 7211 moveq.l D1, 0x11
00002DDC 4841 swap.w D1
00002DDE 322D F71E move.w D1, [A5 - 0x8E2]
00002DE2 7002 moveq.l D0, 0x02
00002DE4 4EBA 19C0 jsr [PC + 0x19C0 /* 000047A6 */]
00002DE8 6000 FB18 bra -0x4E6 /* 00002902 */
00002DEC 202D F71C move.l D0, [A5 - 0x8E4]
00002DF0 082D 0000 F728 btst.b [A5 - 0x8D8], 0x0
00002DF6 6612 bne +0x14 /* 00002E0A */
00002DF8 4A2D F73A tst.b [A5 - 0x8C6]
00002DFC 664C bne +0x4E /* 00002E4A */
label00002DFE:
00002DFE 0280 0000 00FF andi.l D0, 0xFF
00002E04 4CDF 0306 movem.l D1,D2,A0,A1, [A7]+
00002E08 4E75 rts
label00002E0A:
00002E0A 4A2D F73A tst.b [A5 - 0x8C6]
00002E0E 660C bne +0xE /* 00002E1C */
00002E10 0C00 002E cmpi.b D0, 0x2E /* '.' */
00002E14 6618 bne +0x1A /* 00002E2E */
00002E16 103C 0082 move.b D0, 0x82
00002E1A 60E2 bra -0x1C /* 00002DFE */
label00002E1C:
00002E1C 0240 00FF andi.w D0, 0xFF
00002E20 0C00 002E cmpi.b D0, 0x2E /* '.' */
00002E24 6718 beq +0x1A /* 00002E3E */
00002E26 4A2D F64A tst.b [A5 - 0x9B6]
00002E2A 6B00 0DB2 bmi +0xDB4 /* 00003BDE */
label00002E2E:
00002E2E 598F subq.l A7, 4
00002E30 3F00 move.w -[A7], D0
00002E32 1E80 move.b [A7], D0
00002E34 4EBA 2B40 jsr [PC + 0x2B40 /* 00005976 */]
00002E38 A93E syscall MenuKey
00002E3A 4EFA 025C jmp [PC + 0x25C /* 00003098 */]
label00002E3E:
00002E3E 7200 moveq.l D1, 0x00
00002E40 7001 moveq.l D0, 0x01
00002E42 4EBA 197C jsr [PC + 0x197C /* 000047C0 */]
00002E46 6000 FABA bra -0x544 /* 00002902 */
label00002E4A:
00002E4A 206D F62E movea.l A0, [A5 - 0x9D2]
00002E4E 7200 moveq.l D1, 0x00
00002E50 1228 0099 move.b D1, [A0 + 0x99]
00002E54 E949 lsl D1.w, 4
00002E56 206D F748 movea.l A0, [A5 - 0x8B8]
00002E5A 41F0 1000 lea.l A0, [A0 + D1.w]
00002E5E 4AA8 0008 tst.l [A0 + 0x8]
00002E62 660E bne +0x10 /* 00002E72 */
label00002E64:
00002E64 0240 00FF andi.w D0, 0xFF
00002E68 7210 moveq.l D1, 0x10
00002E6A 4841 swap.w D1
00002E6C 3200 move.w D1, D0
00002E6E 4EFA 008E jmp [PC + 0x8E /* 00002EFE */]
label00002E72:
00002E72 2268 0008 movea.l A1, [A0 + 0x8]
00002E76 2251 movea.l A1, [A1]
00002E78 0240 00FF andi.w D0, 0xFF
00002E7C 0C40 001B cmpi.w D0, 0x1B
00002E80 6706 beq +0x8 /* 00002E88 */
00002E82 4EBA 009E jsr [PC + 0x9E /* 00002F22 */]
00002E86 660C bne +0xE /* 00002E94 */
label00002E88:
00002E88 0440 0010 subi.w D0, 0x10
00002E8C 7200 moveq.l D1, 0x00
00002E8E 1200 move.b D1, D0
00002E90 4EFA 0082 jmp [PC + 0x82 /* 00002F14 */]
label00002E94:
00002E94 0C00 0009 cmpi.b D0, 0x9 /* '\t' */
00002E98 676E beq +0x70 /* 00002F08 */
00002E9A 0C00 0003 cmpi.b D0, 0x3
00002E9E 6706 beq +0x8 /* 00002EA6 */
00002EA0 0C00 000D cmpi.b D0, 0xD /* '\r' */
00002EA4 6612 bne +0x14 /* 00002EB8 */
label00002EA6:
00002EA6 1229 0006 move.b D1, [A1 + 0x6]
00002EAA 5301 subq.b D1, 1
00002EAC 0801 0004 btst.b D1, 0x4
00002EB0 6606 bne +0x8 /* 00002EB8 */
00002EB2 0801 0000 btst.b D1, 0x0
00002EB6 673E beq +0x40 /* 00002EF6 */
label00002EB8:
00002EB8 2469 0008 movea.l A2, [A1 + 0x8]
00002EBC 2052 movea.l A0, [A2]
00002EBE 3228 0008 move.w D1, [A0 + 0x8]
00002EC2 B268 000C cmp.w D1, [A0 + 0xC]
00002EC6 679C beq -0x62 /* 00002E64 */
00002EC8 3F00 move.w -[A7], D0
00002ECA 2F0A move.l -[A7], A2
00002ECC 6100 FE8A bsr -0x174 /* 00002D58 */
00002ED0 202D F5CE move.l D0, [A5 - 0xA32]
00002ED4 6716 beq +0x18 /* 00002EEC */
00002ED6 588F addq.l A7, 4
00002ED8 43ED F5E6 lea.l A1, [A5 - 0xA1A]
00002EDC 329F move.w [A1], [A7]+
00002EDE 12BC 0001 move.b [A1], 0x1
00002EE2 2040 movea.l A0, D0
00002EE4 2F0A move.l -[A7], A2
00002EE6 4E90 jsr [A0]
00002EE8 245F movea.l A2, [A7]+
00002EEA 6002 bra +0x4 /* 00002EEE */
label00002EEC:
00002EEC A9DC syscall TEKey
label00002EEE:
00002EEE 6100 F0E2 bsr -0xF1C /* 00001FD2 */
00002EF2 6000 FA0E bra -0x5F0 /* 00002902 */
label00002EF6:
00002EF6 7206 moveq.l D1, 0x06
00002EF8 4841 swap.w D1
00002EFA 3229 0004 move.w D1, [A1 + 0x4]
label00002EFE:
00002EFE 7002 moveq.l D0, 0x02
00002F00 4EBA 18A4 jsr [PC + 0x18A4 /* 000047A6 */]
00002F04 6000 F9FC bra -0x602 /* 00002902 */
label00002F08:
00002F08 7207 moveq.l D1, 0x07
00002F0A 082D 0001 F728 btst.b [A5 - 0x8D8], 0x1
00002F10 6702 beq +0x4 /* 00002F14 */
00002F12 720A moveq.l D1, 0x0A
label00002F14:
00002F14 4841 swap.w D1
00002F16 2068 0008 movea.l A0, [A0 + 0x8]
00002F1A 2050 movea.l A0, [A0]
00002F1C 3228 0004 move.w D1, [A0 + 0x4]
00002F20 60DC bra -0x22 /* 00002EFE */
fn00002F22:
00002F22 48E7 20C0 movem.l -[A7], D2,A0,A1
00002F26 2069 0008 movea.l A0, [A1 + 0x8]
00002F2A 2050 movea.l A0, [A0]
00002F2C 3228 0020 move.w D1, [A0 + 0x20]
00002F30 B268 0022 cmp.w D1, [A0 + 0x22]
00002F34 6644 bne +0x46 /* 00002F7A */
00002F36 0C40 001C cmpi.w D0, 0x1C
00002F3A 6606 bne +0x8 /* 00002F42 */
00002F3C 4A41 tst.w D1
00002F3E 6742 beq +0x44 /* 00002F82 */
00002F40 6038 bra +0x3A /* 00002F7A */
label00002F42:
00002F42 0C40 001D cmpi.w D0, 0x1D
00002F46 6608 bne +0xA /* 00002F50 */
00002F48 B268 003C cmp.w D1, [A0 + 0x3C]
00002F4C 6734 beq +0x36 /* 00002F82 */
00002F4E 602A bra +0x2C /* 00002F7A */
label00002F50:
00002F50 3428 005E move.w D2, [A0 + 0x5E]
00002F54 E34A lsl D2.w, 1
00002F56 0C40 001E cmpi.w D0, 0x1E
00002F5A 660C bne +0xE /* 00002F68 */
00002F5C 4A42 tst.w D2
00002F5E 6722 beq +0x24 /* 00002F82 */
00002F60 B268 0062 cmp.w D1, [A0 + 0x62]
00002F64 651C bcs +0x1E /* 00002F82 */
00002F66 6012 bra +0x14 /* 00002F7A */
label00002F68:
00002F68 0C40 001F cmpi.w D0, 0x1F
00002F6C 660C bne +0xE /* 00002F7A */
00002F6E 4A42 tst.w D2
00002F70 6710 beq +0x12 /* 00002F82 */
00002F72 B270 205E cmp.w D1, [A0 + D2.w + 0x5E]
00002F76 6502 bcs +0x4 /* 00002F7A */
00002F78 6008 bra +0xA /* 00002F82 */
label00002F7A:
00002F7A 4CDF 0304 movem.l D2,A0,A1, [A7]+
00002F7E 4A40 tst.w D0
00002F80 4E75 rts
label00002F82:
00002F82 4CDF 0304 movem.l D2,A0,A1, [A7]+
00002F86 B040 cmp.w D0, D0
00002F88 4E75 rts
label00002F8A:
00002F8A 7000 moveq.l D0, 0x00
00002F8C 4CDF 0306 movem.l D1,D2,A0,A1, [A7]+
00002F90 4E75 rts
label00002F92:
00002F92 42AD F65C clr.l [A5 - 0x9A4]
00002F96 4267 clr.w -[A7]
00002F98 2F2D F724 move.l -[A7], [A5 - 0x8DC]
00002F9C 486D F778 pea.l [A5 - 0x888]
00002FA0 A92C syscall FindWindow
00002FA2 301F move.w D0, [A7]+
00002FA4 D040 add.w D0, D0
00002FA6 327B 0006 movea.w A1, [PC + D0.w + 0x6]
00002FAA 4EFB 9002 jmp [PC + A1.w + 0x2]
00002FAE 0C28 00D4 00B6 cmpi.b [A0 + 0xB6], 0xD4
00002FB4 0598 bclr [A0]+, D2
00002FB6 0C3A 0300 007E cmpi.b [PC + 0x7E /* 00003036, value 0xA9 */], 0x0
00002FBC 0012 0016 ori.b [A2], 0x16
00002FC0 7607 moveq.l D3, 0x07
00002FC2 6002 bra +0x4 /* 00002FC6 */
00002FC4 7608 moveq.l D3, 0x08
label00002FC6:
00002FC6 486D F636 pea.l [A5 - 0x9CA]
00002FCA A874 syscall GetPort
00002FCC 2F2D F778 move.l -[A7], [A5 - 0x888]
00002FD0 A873 syscall SetPort
00002FD2 4EBA 28BE jsr [PC + 0x28BE /* 00005892 */]
00002FD6 558F subq.l A7, 2
00002FD8 2F2D F778 move.l -[A7], [A5 - 0x888]
00002FDC 2F2D F724 move.l -[A7], [A5 - 0x8DC]
00002FE0 3F03 move.w -[A7], D3
00002FE2 A83B syscall TrackBox
00002FE4 4A1F tst.b [A7]+
00002FE6 6700 02BC beq +0x2BE /* 000032A4 */
00002FEA 4EBA 046E jsr [PC + 0x46E /* 0000345A */]
00002FEE 4EBA 2954 jsr [PC + 0x2954 /* 00005944 */]
00002FF2 4EBA 289E jsr [PC + 0x289E /* 00005892 */]
00002FF6 2F2D F778 move.l -[A7], [A5 - 0x888]
00002FFA 3F03 move.w -[A7], D3
00002FFC 1F3C 00FF move.b -[A7], 0xFF
00003000 A83A syscall ZoomWindow
00003002 2F03 move.l -[A7], D3
00003004 206D F778 movea.l A0, [A5 - 0x888]
00003008 4868 0010 pea.l [A0 + 0x10]
0000300C A928 syscall InvalRect
0000300E 4EBA 031C jsr [PC + 0x31C /* 0000332C */]
00003012 261F move.l D3, [A7]+
00003014 5243 addq.w D3, 1
00003016 4843 swap.w D3
00003018 2203 move.l D1, D3
0000301A 206D F778 movea.l A0, [A5 - 0x888]
0000301E 1228 0099 move.b D1, [A0 + 0x99]
00003022 7002 moveq.l D0, 0x02
00003024 4EBA 1780 jsr [PC + 0x1780 /* 000047A6 */]
00003028 6000 F8D8 bra -0x726 /* 00002902 */
0000302C 4267 clr.w -[A7]
0000302E 2F2D F778 move.l -[A7], [A5 - 0x888]
00003032 2F2D F724 move.l -[A7], [A5 - 0x8DC]
00003036 A91E syscall TrackGoAway
00003038 4A1F tst.b [A7]+
0000303A 6700 F8C6 beq -0x738 /* 00002902 */
0000303E 202D F778 move.l D0, [A5 - 0x888]
00003042 B0AD F774 cmp.l D0, [A5 - 0x88C]
00003046 6606 bne +0x8 /* 0000304E */
00003048 2F2D F4CC move.l -[A7], [A5 - 0xB34]
0000304C 4E75 rts
label0000304E:
0000304E 2040 movea.l A0, D0
00003050 223C 0004 0000 move.l D1, 0x40000
00003056 1228 0099 move.b D1, [A0 + 0x99]
0000305A 7002 moveq.l D0, 0x02
0000305C 4EBA 1748 jsr [PC + 0x1748 /* 000047A6 */]
00003060 6000 F8A0 bra -0x75E /* 00002902 */
00003064 4A2D F64A tst.b [A5 - 0x9B6]
00003068 6B00 0B74 bmi +0xB76 /* 00003BDE */
0000306C 486D F71A pea.l [A5 - 0x8E6]
00003070 2F2D F778 move.l -[A7], [A5 - 0x888]
00003074 A9B3 syscall SystemClick
00003076 6000 F88A bra -0x774 /* 00002902 */
0000307A 202D F724 move.l D0, [A5 - 0x8DC]
0000307E 4840 swap.w D0
00003080 602A bra +0x2C /* 000030AC */
00003082 4A2D F64A tst.b [A5 - 0x9B6]
00003086 6B00 0B56 bmi +0xB58 /* 00003BDE */
0000308A 598F subq.l A7, 4
0000308C 2F2D F724 move.l -[A7], [A5 - 0x8DC]
00003090 4EBA 28E4 jsr [PC + 0x28E4 /* 00005976 */]
00003094 A850 syscall InitCursor
00003096 A93D syscall MenuSelect
label00003098:
00003098 201F move.l D0, [A7]+
0000309A 6700 F866 beq -0x798 /* 00002902 */
0000309E 3B7C 0010 F71A move.w [A5 - 0x8E6], 0x10
000030A4 2B40 F724 move.l [A5 - 0x8DC], D0
000030A8 6000 F880 bra -0x77E /* 0000292A */
label000030AC:
000030AC 6700 F854 beq -0x7AA /* 00002902 */
000030B0 6100 F7E2 bsr -0x81C /* 00002894 */
000030B4 4A2D F73A tst.b [A5 - 0x8C6]
000030B8 6604 bne +0x6 /* 000030BE */
000030BA 4EED 139A jmp [A5 + 0x139A /* export_623 */]
label000030BE:
000030BE B06D F6A8 cmp.w D0, [A5 - 0x958]
000030C2 6700 012A beq +0x12C /* 000031EE */
000030C6 0C40 00FF cmpi.w D0, 0xFF
000030CA 6700 00C4 beq +0xC6 /* 00003190 */
000030CE 0C40 007F cmpi.w D0, 0x7F
000030D2 6700 00BC beq +0xBE /* 00003190 */
label000030D6:
000030D6 082D 0002 F5F1 btst.b [A5 - 0xA0F], 0x2
000030DC 6700 F824 beq -0x7DA /* 00002902 */
000030E0 4840 swap.w D0
000030E2 2200 move.l D1, D0
000030E4 7003 moveq.l D0, 0x03
000030E6 4EBA 16BE jsr [PC + 0x16BE /* 000047A6 */]
000030EA 6000 F816 bra -0x7E8 /* 00002902 */
000030EE 6104 bsr +0x6 /* 000030F4 */
000030F0 6000 F810 bra -0x7EE /* 00002902 */
fn000030F4:
000030F4 4840 swap.w D0
000030F6 3600 move.w D3, D0
000030F8 598F subq.l A7, 4
000030FA 3F3C 00E6 move.w -[A7], 0xE6
000030FE A949 syscall GetMenuHandle
00003100 3F03 move.w -[A7], D3
00003102 486D FDFC pea.l [A5 - 0x204]
00003106 A946 syscall GetMenuItemText/GetItem
00003108 486D FDFC pea.l [A5 - 0x204]
0000310C 486D F66A pea.l [A5 - 0x996]
00003110 A900 syscall GetFNum
00003112 302D F66A move.w D0, [A5 - 0x996]
00003116 3B40 FD82 move.w [A5 - 0x27E], D0
0000311A 3F00 move.w -[A7], D0
0000311C A887 syscall TextFont
label0000311E:
0000311E 486D F660 pea.l [A5 - 0x9A0]
00003122 A88B syscall GetFontInfo
00003124 4267 clr.w -[A7]
00003126 A938 syscall HiliteMenu
00003128 4E75 rts
0000312A 6000 F7D6 bra -0x828 /* 00002902 */
0000312E 6104 bsr +0x6 /* 00003134 */
00003130 6000 F7D0 bra -0x82E /* 00002902 */
fn00003134:
00003134 4840 swap.w D0
00003136 5340 subq.w D0, 1
00003138 6748 beq +0x4A /* 00003182 */
0000313A 0C40 0008 cmpi.w D0, 0x8
0000313E 640E bcc +0x10 /* 0000314E */
00003140 5340 subq.w D0, 1
00003142 7200 moveq.l D1, 0x00
00003144 122D F66E move.b D1, [A5 - 0x992]
00003148 0141 bchg D1, D0
0000314A 3001 move.w D0, D1
0000314C 6034 bra +0x36 /* 00003182 */
label0000314E:
0000314E 5240 addq.w D0, 1
00003150 3600 move.w D3, D0
00003152 598F subq.l A7, 4
00003154 3F3C 00E7 move.w -[A7], 0xE7
00003158 A949 syscall GetMenuHandle
0000315A 3F03 move.w -[A7], D3
0000315C 486D FDFC pea.l [A5 - 0x204]
00003160 A946 syscall GetMenuItemText/GetItem
00003162 41ED FDFC lea.l A0, [A5 - 0x204]
00003166 1018 move.b D0, [A0]+
00003168 4230 0000 clr.b [A0 + D0.w]
0000316C 4EBA DBCA jsr [PC - 0x2436 /* 00000D38 */]
00003170 4A40 tst.w D0
00003172 670C beq +0xE /* 00003180 */
00003174 3B40 F668 move.w [A5 - 0x998], D0
00003178 3B40 FD84 move.w [A5 - 0x27C], D0
0000317C 3F00 move.w -[A7], D0
0000317E A88A syscall TextSize
label00003180:
00003180 609C bra -0x62 /* 0000311E */
label00003182:
00003182 1B40 F66E move.b [A5 - 0x992], D0
00003186 1B40 FD86 move.b [A5 - 0x27A], D0
0000318A 3F00 move.w -[A7], D0
0000318C A888 syscall TextFace
0000318E 608E bra -0x70 /* 0000311E */
label00003190:
00003190 4840 swap.w D0
00003192 2F2D F688 move.l -[A7], [A5 - 0x978]
00003196 2A1F move.l D5, [A7]+
00003198 2600 move.l D3, D0
0000319A 7800 moveq.l D4, 0x00
0000319C 7C1F moveq.l D6, 0x1F
label0000319E:
0000319E 5244 addq.w D4, 1
000031A0 2F05 move.l -[A7], D5
000031A2 3F04 move.w -[A7], D4
000031A4 486D FDFC pea.l [A5 - 0x204]
000031A8 A946 syscall GetMenuItemText/GetItem
000031AA 0C2D 0020 FDFD cmpi.b [A5 - 0x203], 0x20 /* ' ' */
000031B0 55CE FFEC dbcs D6, -0x16 /* 0000319E */
000031B4 B644 cmp.w D3, D4
000031B6 6410 bcc +0x12 /* 000031C8 */
000031B8 2203 move.l D1, D3
000031BA 7003 moveq.l D0, 0x03
000031BC 4EBA 15E8 jsr [PC + 0x15E8 /* 000047A6 */]
label000031C0:
000031C0 4267 clr.w -[A7]
000031C2 A938 syscall HiliteMenu
000031C4 6000 F73C bra -0x8C2 /* 00002902 */
label000031C8:
000031C8 2F05 move.l -[A7], D5
000031CA 3F03 move.w -[A7], D3
000031CC 486D FDFC pea.l [A5 - 0x204]
000031D0 A946 syscall GetMenuItemText/GetItem
000031D2 486D F778 pea.l [A5 - 0x888]
000031D6 A874 syscall GetPort
000031D8 4267 clr.w -[A7]
000031DA A938 syscall HiliteMenu
000031DC 4267 clr.w -[A7]
000031DE 486D FDFC pea.l [A5 - 0x204]
000031E2 A9B6 syscall OpenDeskAcc
000031E4 301F move.w D0, [A7]+
000031E6 2F2D F778 move.l -[A7], [A5 - 0x888]
000031EA A873 syscall SetPort
000031EC 60D2 bra -0x2C /* 000031C0 */
label000031EE:
000031EE 4840 swap.w D0
000031F0 0C40 0007 cmpi.w D0, 0x7
000031F4 642C bcc +0x2E /* 00003222 */
000031F6 2F00 move.l -[A7], D0
000031F8 5340 subq.w D0, 1
000031FA 4267 clr.w -[A7]
000031FC 3F00 move.w -[A7], D0
000031FE A9C2 syscall SysEdit
00003200 4A1F tst.b [A7]+
00003202 6636 bne +0x38 /* 0000323A */
00003204 4EBA 0060 jsr [PC + 0x60 /* 00003266 */]
00003208 2448 movea.l A2, A0
0000320A 4CDF 0001 movem.l D0, [A7]+
0000320E 6712 beq +0x14 /* 00003222 */
00003210 2250 movea.l A1, [A0]
00003212 3229 0008 move.w D1, [A1 + 0x8]
00003216 9269 000C sub.w D1, [A1 + 0xC]
0000321A 6706 beq +0x8 /* 00003222 */
0000321C 5740 subq.w D0, 3
0000321E 6408 bcc +0xA /* 00003228 */
00003220 5640 addq.w D0, 3
label00003222:
00003222 4840 swap.w D0
00003224 6000 FEB0 bra -0x14E /* 000030D6 */
label00003228:
00003228 D040 add.w D0, D0
0000322A 303B 0012 move.w D0, [PC + D0.w + 0x12]
0000322E 4EBB 000E jsr [PC + D0.w + 0xE]
label00003232:
00003232 4267 clr.w -[A7]
00003234 A938 syscall HiliteMenu
00003236 6000 F6CA bra -0x934 /* 00002902 */
label0000323A:
0000323A 201F move.l D0, [A7]+
0000323C 60F4 bra -0xA /* 00003232 */
0000323E 0012 0022 ori.b [A2], 0x22 /* '\"' */
00003242 0044 0056 ori.w D4, 0x56 /* 'V' */
00003246 4267 clr.w -[A7]
00003248 A938 syscall HiliteMenu
0000324A 588F addq.l A7, 4
0000324C 6000 F6B4 bra -0x94A /* 00002902 */
00003250 4EBA 2704 jsr [PC + 0x2704 /* 00005956 */]
00003254 2F0A move.l -[A7], A2
00003256 6100 FB00 bsr -0x4FE /* 00002D58 */
0000325A A9D6 syscall TECut
0000325C 6000 ED74 bra -0x128A /* 00001FD2 */
00003260 2F0A move.l -[A7], A2
00003262 A9D5 syscall TECopy
00003264 4E75 rts
fn00003266:
00003266 4EBA 1726 jsr [PC + 0x1726 /* 0000498E */]
0000326A 6714 beq +0x16 /* 00003280 */
0000326C E949 lsl D1.w, 4
0000326E 43F1 1008 lea.l A1, [A1 + D1.w + 0x8]
00003272 2011 move.l D0, [A1]
00003274 670A beq +0xC /* 00003280 */
00003276 2040 movea.l A0, D0
00003278 2050 movea.l A0, [A0]
0000327A 2068 0008 movea.l A0, [A0 + 0x8]
0000327E 2008 move.l D0, A0
label00003280:
00003280 4E75 rts
00003282 4EBA 26D2 jsr [PC + 0x26D2 /* 00005956 */]
00003286 2F0A move.l -[A7], A2
00003288 6100 FACE bsr -0x530 /* 00002D58 */
0000328C 4267 clr.w -[A7]
0000328E A83D syscall TEDispatch
00003290 6000 ED40 bra -0x12BE /* 00001FD2 */
00003294 4EBA 26C0 jsr [PC + 0x26C0 /* 00005956 */]
00003298 2F0A move.l -[A7], A2
0000329A 6100 FABC bsr -0x542 /* 00002D58 */
0000329E A9D7 syscall TEDelete
000032A0 6000 ED30 bra -0x12CE /* 00001FD2 */
label000032A4:
000032A4 2F2D F636 move.l -[A7], [A5 - 0x9CA]
000032A8 A873 syscall SetPort
000032AA 6000 F656 bra -0x9A8 /* 00002902 */
000032AE 486D F636 pea.l [A5 - 0x9CA]
000032B2 A874 syscall GetPort
000032B4 2F2D F778 move.l -[A7], [A5 - 0x888]
000032B8 A873 syscall SetPort
000032BA 598F subq.l A7, 4
000032BC 2F2D F778 move.l -[A7], [A5 - 0x888]
000032C0 2F2D F724 move.l -[A7], [A5 - 0x8DC]
000032C4 486D FD0E pea.l [A5 - 0x2F2]
000032C8 4EBA 2680 jsr [PC + 0x2680 /* 0000594A */]
000032CC 4EBA 25C4 jsr [PC + 0x25C4 /* 00005892 */]
000032D0 A92B syscall GrowWindow
000032D2 201F move.l D0, [A7]+
000032D4 67CE beq -0x30 /* 000032A4 */
000032D6 2F00 move.l -[A7], D0
000032D8 4EBA 0180 jsr [PC + 0x180 /* 0000345A */]
000032DC 2F17 move.l -[A7], [A7]
000032DE 2F6D F778 0004 move.l [A7 + 0x4], [A5 - 0x888]
000032E4 50E7 st -[A7]
000032E6 A91D syscall SizeWindow
000032E8 6142 bsr +0x44 /* 0000332C */
000032EA 6000 F616 bra -0x9E8 /* 00002902 */
000032EE 47ED FD6A lea.l A3, [A5 - 0x296]
000032F2 486D F636 pea.l [A5 - 0x9CA]
000032F6 A874 syscall GetPort
000032F8 202D F774 move.l D0, [A5 - 0x88C]
000032FC 2B40 F778 move.l [A5 - 0x888], D0
00003300 2F00 move.l -[A7], D0
00003302 2F00 move.l -[A7], D0
00003304 A873 syscall SetPort
00003306 4EBA 258A jsr [PC + 0x258A /* 00005892 */]
0000330A 4EBA 014E jsr [PC + 0x14E /* 0000345A */]
0000330E 261B move.l D3, [A3]+
00003310 2F03 move.l -[A7], D3
00003312 4267 clr.w -[A7]
00003314 A91B syscall MoveWindow
00003316 2F2D F774 move.l -[A7], [A5 - 0x88C]
0000331A 2013 move.l D0, [A3]
0000331C 9043 sub.w D0, D3
0000331E 4840 swap.w D0
00003320 4843 swap.w D3
00003322 9043 sub.w D0, D3
00003324 4840 swap.w D0
00003326 2F00 move.l -[A7], D0
00003328 50E7 st -[A7]
0000332A A91D syscall SizeWindow
fn0000332C:
0000332C 4EBA 012C jsr [PC + 0x12C /* 0000345A */]
00003330 4EBA 09BE jsr [PC + 0x9BE /* 00003CF0 */]
00003334 4EBA 253C jsr [PC + 0x253C /* 00005872 */]
00003338 206D FFFC movea.l A0, [A5 - 0x4]
0000333C 2B68 0030 FC7E move.l [A5 - 0x382], [A0 + 0x30]
00003342 302D FC7E move.w D0, [A5 - 0x382]
00003346 B06D F67C cmp.w D0, [A5 - 0x984]
0000334A 640A bcc +0xC /* 00003356 */
0000334C 302D FC80 move.w D0, [A5 - 0x380]
00003350 B06D F67E cmp.w D0, [A5 - 0x982]
00003354 650C bcs +0xE /* 00003362 */
label00003356:
00003356 0C6D FFFE F63C cmpi.w [A5 - 0x9C4], 0xFFFE
0000335C 6704 beq +0x6 /* 00003362 */
0000335E 6100 F360 bsr -0xC9E /* 000026C0 */
label00003362:
00003362 4EBA 252E jsr [PC + 0x252E /* 00005892 */]
00003366 206D F778 movea.l A0, [A5 - 0x888]
0000336A 4EBA 013A jsr [PC + 0x13A /* 000034A6 */]
0000336E 4EBA 08C4 jsr [PC + 0x8C4 /* 00003C34 */]
00003372 4EBA 0980 jsr [PC + 0x980 /* 00003CF4 */]
00003376 4EBA 25DA jsr [PC + 0x25DA /* 00005952 */]
0000337A 2F2D F636 move.l -[A7], [A5 - 0x9CA]
0000337E A873 syscall SetPort
00003380 4EFA 0972 jmp [PC + 0x972 /* 00003CF4 */]
00003384 47ED FD12 lea.l A3, [A5 - 0x2EE]
00003388 6004 bra +0x6 /* 0000338E */
0000338A 47ED FD16 lea.l A3, [A5 - 0x2EA]
label0000338E:
0000338E 245F movea.l A2, [A7]+
00003390 371F move.w -[A3], [A7]+
00003392 3700 move.w -[A3], D0
00003394 4ED2 jmp [A2]
fn00003396:
00003396 6158 bsr +0x5A /* 000033F0 */
00003398 3438 0BAA move.w D2, [0x00000BAA /* MBarHeight */]
0000339C 0C03 0011 cmpi.b D3, 0x11
000033A0 6418 bcc +0x1A /* 000033BA */
000033A2 0C03 0009 cmpi.b D3, 0x9 /* '\t' */
000033A6 6712 beq +0x14 /* 000033BA */
000033A8 0C03 0001 cmpi.b D3, 0x1
000033AC 670C beq +0xE /* 000033BA */
000033AE 0C03 0005 cmpi.b D3, 0x5
000033B2 6706 beq +0x8 /* 000033BA */
000033B4 0C03 0006 cmpi.b D3, 0x6
000033B8 6604 bne +0x6 /* 000033BE */
label000033BA:
000033BA 0642 0012 addi.w D2, 0x12
label000033BE:
000033BE 4A91 tst.l [A1]
000033C0 662C bne +0x2E /* 000033EE */
000033C2 5088 addq.l A0, 8
000033C4 5089 addq.l A1, 8
000033C6 3220 move.w D1, -[A0]
000033C8 9261 sub.w D1, -[A1]
000033CA 3020 move.w D0, -[A0]
000033CC 9061 sub.w D0, -[A1]
000033CE 9260 sub.w D1, -[A0]
000033D0 9060 sub.w D0, -[A0]
000033D2 9042 sub.w D0, D2
000033D4 48C0 ext.l D0
000033D6 48C1 ext.l D1
000033D8 83FC 0002 divs.w D1, 0x2
000033DC 81FC 0002 divs.w D0, 0x2
000033E0 D551 add.w [A1], D2
000033E2 D159 add.w [A1]+, D0
000033E4 D359 add.w [A1]+, D1
000033E6 5989 subq.l A1, 4
000033E8 D361 add.w -[A1], D1
000033EA D161 add.w -[A1], D0
000033EC D551 add.w [A1], D2
label000033EE:
000033EE 4E75 rts
fn000033F0:
000033F0 598F subq.l A7, 4
000033F2 2F0F move.l -[A7], A7
000033F4 A910 syscall GetWMgrPort
000033F6 205F movea.l A0, [A7]+
000033F8 41E8 0010 lea.l A0, [A0 + 0x10]
000033FC 43ED F610 lea.l A1, [A5 - 0x9F0]
00003400 4E75 rts
00003402 61EC bsr -0x12 /* 000033F0 */
00003404 7016 moveq.l D0, 0x16
00003406 D078 0BAA add.w D0, [0x00000BAA /* MBarHeight */]
0000340A D058 add.w D0, [A0]+
0000340C 32C0 move.w [A1]+, D0
0000340E 3298 move.w [A1], [A0]+
00003410 5859 addq.w [A1]+, 4
00003412 3298 move.w [A1], [A0]+
00003414 5959 subq.w [A1]+, 4
00003416 3298 move.w [A1], [A0]+
00003418 5959 subq.w [A1]+, 4
0000341A 245F movea.l A2, [A7]+
0000341C 5989 subq.l A1, 4
0000341E 4A5F tst.w [A7]+
00003420 6702 beq +0x4 /* 00003424 */
00003422 229F move.l [A1], [A7]+
label00003424:
00003424 5989 subq.l A1, 4
00003426 4A5F tst.w [A7]+
00003428 6702 beq +0x4 /* 0000342C */
0000342A 229F move.l [A1], [A7]+
label0000342C:
0000342C 7609 moveq.l D3, 0x09
0000342E 6100 FF66 bsr -0x98 /* 00003396 */
00003432 321F move.w D1, [A7]+
00003434 6722 beq +0x24 /* 00003458 */
00003436 206D F748 movea.l A0, [A5 - 0x8B8]
0000343A E949 lsl D1.w, 4
0000343C 2030 1000 move.l D0, [A0 + D1.w]
00003440 6716 beq +0x18 /* 00003458 */
00003442 2040 movea.l A0, D0
00003444 0C28 0008 0098 cmpi.b [A0 + 0x98], 0x8
0000344A 660C bne +0xE /* 00003458 */
0000344C 2068 0082 movea.l A0, [A0 + 0x82]
00003450 2050 movea.l A0, [A0]
00003452 5088 addq.l A0, 8
00003454 20D9 move.l [A0]+, [A1]+
00003456 20D9 move.l [A0]+, [A1]+
label00003458:
00003458 4ED2 jmp [A2]
fn0000345A:
0000345A 2F0A move.l -[A7], A2
0000345C 246D FFFC movea.l A2, [A5 - 0x4]
00003460 3B6A 0010 F670 move.w [A5 - 0x990], [A2 + 0x10]
00003466 3B6A 0016 F672 move.w [A5 - 0x98E], [A2 + 0x16]
0000346C 046D 000F F672 subi.w [A5 - 0x98E], 0xF
00003472 2B6A 0014 F674 move.l [A5 - 0x98C], [A2 + 0x14]
00003478 6118 bsr +0x1A /* 00003492 */
0000347A 3B6A 0014 F670 move.w [A5 - 0x990], [A2 + 0x14]
00003480 046D 000F F670 subi.w [A5 - 0x990], 0xF
00003486 3B6A 0012 F672 move.w [A5 - 0x98E], [A2 + 0x12]
0000348C 6104 bsr +0x6 /* 00003492 */
0000348E 245F movea.l A2, [A7]+
00003490 4E75 rts
fn00003492:
00003492 B5ED F774 cmpa.l A2, [A5 - 0x88C]
00003496 6606 bne +0x8 /* 0000349E */
00003498 486D F670 pea.l [A5 - 0x990]
0000349C A8A3 syscall EraseRect
label0000349E:
0000349E 486D F670 pea.l [A5 - 0x990]
000034A2 A928 syscall InvalRect
000034A4 4E75 rts
fn000034A6:
000034A6 2448 movea.l A2, A0
000034A8 4A28 0098 tst.b [A0 + 0x98]
000034AC 670A beq +0xC /* 000034B8 */
000034AE 0C28 0008 0098 cmpi.b [A0 + 0x98], 0x8
000034B4 6600 222E bne +0x2230 /* 000056E4 */
label000034B8:
000034B8 41E8 008C lea.l A0, [A0 + 0x8C]
label000034BC:
000034BC 2010 move.l D0, [A0]
000034BE 6700 2224 beq +0x2226 /* 000056E4 */
000034C2 2240 movea.l A1, D0
000034C4 2051 movea.l A0, [A1]
000034C6 1228 0024 move.b D1, [A0 + 0x24]
000034CA EA09 lsr D1.b, 5
000034CC 5B01 subq.b D1, 5
000034CE 6740 beq +0x42 /* 00003510 */
000034D0 5301 subq.b D1, 1
000034D2 66E8 bne -0x16 /* 000034BC */
000034D4 2F09 move.l -[A7], A1
000034D6 2F00 move.l -[A7], D0
000034D8 2F00 move.l -[A7], D0
000034DA 2051 movea.l A0, [A1]
000034DC 3628 000A move.w D3, [A0 + 0xA]
000034E0 3F03 move.w -[A7], D3
000034E2 3F2A 0014 move.w -[A7], [A2 + 0x14]
000034E6 0457 000F subi.w [A7], 0xF
000034EA A959 syscall MoveControl
000034EC 4EBA 2384 jsr [PC + 0x2384 /* 00005872 */]
000034F0 3F2A 0016 move.w -[A7], [A2 + 0x16]
000034F4 9757 sub.w [A7], D3
000034F6 0457 000E subi.w [A7], 0xE
000034FA 3F3C 0010 move.w -[A7], 0x10
label000034FE:
000034FE A95C syscall SizeControl
00003500 2057 movea.l A0, [A7]
00003502 2050 movea.l A0, [A0]
00003504 41E8 0008 lea.l A0, [A0 + 0x8]
00003508 612E bsr +0x30 /* 00003538 */
0000350A 205F movea.l A0, [A7]+
0000350C 2050 movea.l A0, [A0]
0000350E 60AC bra -0x52 /* 000034BC */
label00003510:
00003510 2F09 move.l -[A7], A1
00003512 2F00 move.l -[A7], D0
00003514 2F00 move.l -[A7], D0
00003516 3F2A 0016 move.w -[A7], [A2 + 0x16]
0000351A 0457 000F subi.w [A7], 0xF
0000351E 2051 movea.l A0, [A1]
00003520 3628 0008 move.w D3, [A0 + 0x8]
00003524 3F03 move.w -[A7], D3
00003526 A959 syscall MoveControl
00003528 3F3C 0010 move.w -[A7], 0x10
0000352C 3F2A 0014 move.w -[A7], [A2 + 0x14]
00003530 9757 sub.w [A7], D3
00003532 0457 000E subi.w [A7], 0xE
00003536 60C6 bra -0x38 /* 000034FE */
fn00003538:
00003538 43ED F626 lea.l A1, [A5 - 0x9DA]
0000353C 2F09 move.l -[A7], A1
0000353E 22D8 move.l [A1]+, [A0]+
00003540 2290 move.l [A1], [A0]
00003542 A92A syscall ValidRect
00003544 4E75 rts
00003546 246D F778 movea.l A2, [A5 - 0x888]
0000354A B5ED F774 cmpa.l A2, [A5 - 0x88C]
0000354E 6722 beq +0x24 /* 00003572 */
00003550 B5ED F82C cmpa.l A2, [A5 - 0x7D4]
00003554 671C beq +0x1E /* 00003572 */
00003556 204A movea.l A0, A2
00003558 4EBA 0620 jsr [PC + 0x620 /* 00003B7A */]
0000355C 6714 beq +0x16 /* 00003572 */
0000355E 0828 0005 009A btst.b [A0 + 0x9A], 0x5
00003564 6640 bne +0x42 /* 000035A6 */
00003566 3F01 move.w -[A7], D1
00003568 4EBA 140C jsr [PC + 0x140C /* 00004976 */]
0000356C B05F cmp.w D0, [A7]+
0000356E 6736 beq +0x38 /* 000035A6 */
00003570 600A bra +0xC /* 0000357C */
label00003572:
00003572 2F0A move.l -[A7], A2
00003574 A91F syscall SelectWindow
00003576 6000 F38A bra -0xC74 /* 00002902 */
0000357A 2448 movea.l A2, A0
label0000357C:
0000357C 4A2D F64A tst.b [A5 - 0x9B6]
00003580 6B00 065C bmi +0x65E /* 00003BDE */
00003584 082A 0004 009A btst.b [A2 + 0x9A], 0x4
0000358A 6706 beq +0x8 /* 00003592 */
0000358C 2B6D F724 F65C move.l [A5 - 0x9A4], [A5 - 0x8DC]
label00003592:
00003592 223C 0003 0000 move.l D1, 0x30000
00003598 122A 0099 move.b D1, [A2 + 0x99]
0000359C 7002 moveq.l D0, 0x02
0000359E 4EBA 1206 jsr [PC + 0x1206 /* 000047A6 */]
000035A2 6000 F35E bra -0xCA0 /* 00002902 */
label000035A6:
000035A6 082A 0005 009A btst.b [A2 + 0x9A], 0x5
000035AC 6730 beq +0x32 /* 000035DE */
000035AE 4A2D F64A tst.b [A5 - 0x9B6]
000035B2 6B00 062A bmi +0x62C /* 00003BDE */
000035B6 42A7 clr.l -[A7]
000035B8 A924 syscall FrontWindow
000035BA 205F movea.l A0, [A7]+
label000035BC:
000035BC B5C8 cmpa.l A2, A0
000035BE 6716 beq +0x18 /* 000035D6 */
000035C0 4EBA 05B8 jsr [PC + 0x5B8 /* 00003B7A */]
000035C4 67CC beq -0x32 /* 00003592 */
000035C6 0828 0005 009A btst.b [A0 + 0x9A], 0x5
000035CC 66C4 bne -0x3A /* 00003592 */
000035CE 2028 0090 move.l D0, [A0 + 0x90]
000035D2 2040 movea.l A0, D0
000035D4 66E6 bne -0x18 /* 000035BC */
label000035D6:
000035D6 2B4A F62E move.l [A5 - 0x9D2], A2
000035DA 2F0A move.l -[A7], A2
000035DC 6006 bra +0x8 /* 000035E4 */
label000035DE:
000035DE 598F subq.l A7, 4
000035E0 2F0F move.l -[A7], A7
000035E2 A874 syscall GetPort
label000035E4:
000035E4 2F0A move.l -[A7], A2
000035E6 A873 syscall SetPort
000035E8 4EBA 070A jsr [PC + 0x70A /* 00003CF4 */]
000035EC 486D F724 pea.l [A5 - 0x8DC]
000035F0 A871 syscall GlobalToLocal
000035F2 558F subq.l A7, 2
000035F4 2F2D F724 move.l -[A7], [A5 - 0x8DC]
000035F8 2F0A move.l -[A7], A2
000035FA 486D F5F6 pea.l [A5 - 0xA0A]
000035FE A96C syscall FindControl
00003600 361F move.w D3, [A7]+
00003602 6700 00AA beq +0xAC /* 000036AE */
00003606 2B4A F62E move.l [A5 - 0x9D2], A2
0000360A 2E8A move.l [A7], A2
0000360C 4EBA 2284 jsr [PC + 0x2284 /* 00005892 */]
00003610 266D F5F6 movea.l A3, [A5 - 0xA0A]
00003614 2053 movea.l A0, [A3]
00003616 1028 0024 move.b D0, [A0 + 0x24]
0000361A EA08 lsr D0.b, 5
0000361C 5B00 subq.b D0, 5
0000361E 670A beq +0xC /* 0000362A */
00003620 5300 subq.b D0, 1
00003622 6706 beq +0x8 /* 0000362A */
00003624 486D F678 pea.l [A5 - 0x988]
00003628 A87B syscall ClipRect
label0000362A:
0000362A 558F subq.l A7, 2
0000362C 2F0B move.l -[A7], A3
0000362E A960 syscall GetControlValue/GetCtlValue
00003630 3B5F F544 move.w [A5 - 0xABC], [A7]+
00003634 2038 02F0 move.l D0, [0x000002F0 /* DoubleTime */]
00003638 E488 lsr D0, 2
0000363A 2B40 F632 move.l [A5 - 0x9CE], D0
0000363E 558F subq.l A7, 2
00003640 2F2D F5F6 move.l -[A7], [A5 - 0xA0A]
00003644 2F2D F724 move.l -[A7], [A5 - 0x8DC]
00003648 487A 0330 pea.l [PC + 0x330 /* 0000397A, value 0x205F321F */]
0000364C 614E bsr +0x50 /* 0000369C */
0000364E 6706 beq +0x8 /* 00003656 */
00003650 2EBC FFFF FFFF move.l [A7], 0xFFFFFFFF
label00003656:
00003656 A968 syscall TrackControl
00003658 4EBA 2444 jsr [PC + 0x2444 /* 00005A9E */]
0000365C 4EBA 2086 jsr [PC + 0x2086 /* 000056E4 */]
00003660 361F move.w D3, [A7]+
00003662 A873 syscall SetPort
00003664 4EBA 068E jsr [PC + 0x68E /* 00003CF4 */]
00003668 4A43 tst.w D3
0000366A 672C beq +0x2E /* 00003698 */
0000366C 612E bsr +0x30 /* 0000369C */
0000366E 6728 beq +0x2A /* 00003698 */
00003670 204A movea.l A0, A2
00003672 41E8 008C lea.l A0, [A0 + 0x8C]
label00003676:
00003676 2010 move.l D0, [A0]
00003678 671E beq +0x20 /* 00003698 */
0000367A 2040 movea.l A0, D0
0000367C 2050 movea.l A0, [A0]
0000367E B0AD F5F6 cmp.l D0, [A5 - 0xA0A]
00003682 66F2 bne -0xC /* 00003676 */
00003684 223C 0001 0000 move.l D1, 0x10000
0000368A 3228 0024 move.w D1, [A0 + 0x24]
0000368E 0241 1FFF andi.w D1, 0x1FFF
00003692 7002 moveq.l D0, 0x02
00003694 4EBA 1110 jsr [PC + 0x1110 /* 000047A6 */]
label00003698:
00003698 6000 F268 bra -0xD96 /* 00002902 */
fn0000369C:
0000369C 0443 0014 subi.w D3, 0x14
000036A0 670A beq +0xC /* 000036AC */
000036A2 5343 subq.w D3, 1
000036A4 6706 beq +0x8 /* 000036AC */
000036A6 5343 subq.w D3, 1
000036A8 6702 beq +0x4 /* 000036AC */
000036AA 5343 subq.w D3, 1
label000036AC:
000036AC 4E75 rts
label000036AE:
000036AE 7200 moveq.l D1, 0x00
000036B0 2641 movea.l A3, D1
000036B2 206D F748 movea.l A0, [A5 - 0x8B8]
000036B6 122A 0099 move.b D1, [A2 + 0x99]
000036BA E949 lsl D1.w, 4
000036BC 41F0 1000 lea.l A0, [A0 + D1.w]
000036C0 4AA8 0004 tst.l [A0 + 0x4]
000036C4 6700 0124 beq +0x126 /* 000037EA */
000036C8 2028 0008 move.l D0, [A0 + 0x8]
000036CC 6700 011C beq +0x11E /* 000037EA */
000036D0 2640 movea.l A3, D0
000036D2 2053 movea.l A0, [A3]
000036D4 2068 0008 movea.l A0, [A0 + 0x8]
000036D8 4EBA 18F4 jsr [PC + 0x18F4 /* 00004FCE */]
000036DC 558F subq.l A7, 2
000036DE 2F2D F724 move.l -[A7], [A5 - 0x8DC]
000036E2 486D F610 pea.l [A5 - 0x9F0]
000036E6 A8AD syscall PtInRect
000036E8 4A1F tst.b [A7]+
000036EA 6700 00FE beq +0x100 /* 000037EA */
000036EE 2B4A F62E move.l [A5 - 0x9D2], A2
000036F2 2E8A move.l [A7], A2
000036F4 76FF moveq.l D3, 0xFFFFFFFF
000036F6 6134 bsr +0x36 /* 0000372C */
000036F8 6120 bsr +0x22 /* 0000371A */
000036FA 6614 bne +0x16 /* 00003710 */
000036FC 4A83 tst.l D3
000036FE 6710 beq +0x12 /* 00003710 */
00003700 223C 0002 0000 move.l D1, 0x20000
00003706 3228 0004 move.w D1, [A0 + 0x4]
0000370A 7002 moveq.l D0, 0x02
0000370C 4EBA 1098 jsr [PC + 0x1098 /* 000047A6 */]
label00003710:
00003710 A873 syscall SetPort
00003712 4EBA 05E0 jsr [PC + 0x5E0 /* 00003CF4 */]
00003716 6000 F1EA bra -0xE14 /* 00002902 */
fn0000371A:
0000371A 2053 movea.l A0, [A3]
0000371C 2268 0008 movea.l A1, [A0 + 0x8]
00003720 2251 movea.l A1, [A1]
00003722 2029 0008 move.l D0, [A1 + 0x8]
00003726 B0A9 000C cmp.l D0, [A1 + 0xC]
0000372A 4E75 rts
fn0000372C:
0000372C 6100 F62A bsr -0x9D4 /* 00002D58 */
fn00003730:
00003730 61E8 bsr -0x16 /* 0000371A */
00003732 6654 bne +0x56 /* 00003788 */
00003734 48E7 1000 movem.l -[A7], D3
00003738 1628 0006 move.b D3, [A0 + 0x6]
0000373C 5303 subq.b D3, 1
0000373E 0803 0004 btst.b D3, 0x4
00003742 6706 beq +0x8 /* 0000374A */
00003744 0203 009F andi.b D3, 0x9F
00003748 6006 bra +0x8 /* 00003750 */
label0000374A:
0000374A 0803 0000 btst.b D3, 0x0
0000374E 6730 beq +0x32 /* 00003780 */
label00003750:
00003750 4227 clr.b -[A7]
label00003752:
00003752 4267 clr.w -[A7]
00003754 2F2D F724 move.l -[A7], [A5 - 0x8DC]
00003758 486D F610 pea.l [A5 - 0x9F0]
0000375C A8AD syscall PtInRect
0000375E 101F move.b D0, [A7]+
00003760 B017 cmp.b D0, [A7]
00003762 6704 beq +0x6 /* 00003768 */
00003764 1E80 move.b [A7], D0
00003766 6146 bsr +0x48 /* 000037AE */
label00003768:
00003768 486D F724 pea.l [A5 - 0x8DC]
0000376C A972 syscall GetMouse
0000376E 4227 clr.b -[A7]
00003770 A973 syscall StillDown
00003772 4A1F tst.b [A7]+
00003774 66DC bne -0x22 /* 00003752 */
00003776 4A1F tst.b [A7]+
00003778 6604 bne +0x6 /* 0000377E */
0000377A 4297 clr.l [A7]
0000377C 6002 bra +0x4 /* 00003780 */
label0000377E:
0000377E 612E bsr +0x30 /* 000037AE */
label00003780:
00003780 6100 E852 bsr -0x17AC /* 00001FD4 */
00003784 261F move.l D3, [A7]+
00003786 4E75 rts
label00003788:
00003788 2F2D F724 move.l -[A7], [A5 - 0x8DC]
0000378C 082D 0001 F728 btst.b [A5 - 0x8D8], 0x1
00003792 56E7 sne -[A7]
00003794 2468 0008 movea.l A2, [A0 + 0x8]
00003798 2F0A move.l -[A7], A2
0000379A 41FA 239A lea.l A0, [PC + 0x239A /* 00005B36, value 0x0 */]
0000379E 208A move.l [A0], A2
000037A0 A9D4 syscall TEClick
000037A2 6100 E82E bsr -0x17D0 /* 00001FD2 */
000037A6 4EBA 21BC jsr [PC + 0x21BC /* 00005964 */]
000037AA 6000 E826 bra -0x17D8 /* 00001FD2 */
fn000037AE:
000037AE 0803 0004 btst.b D3, 0x4
000037B2 6706 beq +0x8 /* 000037BA */
000037B4 08B8 0007 0938 bclr.b [0x00000938 /* HiliteMode */], 0x7
label000037BA:
000037BA 486D F610 pea.l [A5 - 0x9F0]
000037BE 0803 0006 btst.b D3, 0x6
000037C2 660E bne +0x10 /* 000037D2 */
000037C4 0803 0005 btst.b D3, 0x5
000037C8 6604 bne +0x6 /* 000037CE */
000037CA A8A4 syscall InvertRect
000037CC 4E75 rts
label000037CE:
000037CE A8BA syscall InvertOval
000037D0 4E75 rts
label000037D2:
000037D2 0803 0005 btst.b D3, 0x5
000037D6 6608 bne +0xA /* 000037E0 */
000037D8 2F3C 0004 0004 move.l -[A7], 0x40004
000037DE 6006 bra +0x8 /* 000037E6 */
label000037E0:
000037E0 2F3C 0010 0010 move.l -[A7], 0x100010
label000037E6:
000037E6 A8B3 syscall InvertRoundRect
000037E8 4E75 rts
label000037EA:
000037EA 7200 moveq.l D1, 0x00
000037EC 122A 0099 move.b D1, [A2 + 0x99]
000037F0 206D F748 movea.l A0, [A5 - 0x8B8]
000037F4 E949 lsl D1.w, 4
000037F6 47F0 1000 lea.l A3, [A0 + D1.w]
000037FA 41EB 0004 lea.l A0, [A3 + 0x4]
label000037FE:
000037FE 2610 move.l D3, [A0]
00003800 6700 0122 beq +0x124 /* 00003924 */
00003804 2043 movea.l A0, D3
00003806 2F08 move.l -[A7], A0
00003808 2050 movea.l A0, [A0]
0000380A 1228 0006 move.b D1, [A0 + 0x6]
0000380E 700C moveq.l D0, 0x0C
00003810 5301 subq.b D1, 1
00003812 C001 and.b D0, D1
00003814 6704 beq +0x6 /* 0000381A */
00003816 7000 moveq.l D0, 0x00
00003818 6016 bra +0x18 /* 00003830 */
label0000381A:
0000381A 2068 0008 movea.l A0, [A0 + 0x8]
0000381E 4EBA 17AE jsr [PC + 0x17AE /* 00004FCE */]
00003822 558F subq.l A7, 2
00003824 2F2D F724 move.l -[A7], [A5 - 0x8DC]
00003828 486D F610 pea.l [A5 - 0x9F0]
0000382C A8AD syscall PtInRect
0000382E 4A1F tst.b [A7]+
label00003830:
00003830 205F movea.l A0, [A7]+
00003832 2050 movea.l A0, [A0]
00003834 67C8 beq -0x36 /* 000037FE */
00003836 2B4A F62E move.l [A5 - 0x9D2], A2
0000383A 2E8A move.l [A7], A2
0000383C 4EBA 00B4 jsr [PC + 0xB4 /* 000038F2 */]
00003840 2643 movea.l A3, D3
00003842 6100 FEEC bsr -0x112 /* 00003730 */
00003846 A873 syscall SetPort
00003848 4EBA 04AA jsr [PC + 0x4AA /* 00003CF4 */]
0000384C 4A83 tst.l D3
0000384E 6700 F0B2 beq -0xF4C /* 00002902 */
00003852 7002 moveq.l D0, 0x02
00003854 223C 0002 0000 move.l D1, 0x20000
0000385A 2043 movea.l A0, D3
0000385C 2050 movea.l A0, [A0]
0000385E 3228 0004 move.w D1, [A0 + 0x4]
00003862 4EBA 0F42 jsr [PC + 0xF42 /* 000047A6 */]
00003866 6000 F09A bra -0xF64 /* 00002902 */
0000386A 2648 movea.l A3, A0
0000386C 6100 F9F8 bsr -0x606 /* 00003266 */
00003870 672A beq +0x2C /* 0000389C */
00003872 2A11 move.l D5, [A1]
00003874 4EBA 201C jsr [PC + 0x201C /* 00005892 */]
00003878 6100 F4DE bsr -0xB20 /* 00002D58 */
0000387C 2045 movea.l A0, D5
0000387E 2450 movea.l A2, [A0]
00003880 246A 0008 movea.l A2, [A2 + 0x8]
00003884 7600 moveq.l D3, 0x00
00003886 161B move.b D3, [A3]+
00003888 600A bra +0xC /* 00003894 */
label0000388A:
0000388A 4267 clr.w -[A7]
0000388C 1F5B 0001 move.b [A7 + 0x1], [A3]+
00003890 2F0A move.l -[A7], A2
00003892 A9DC syscall TEKey
label00003894:
00003894 51CB FFF4 dbf D3, -0xE /* 0000388A */
00003898 6000 E738 bra -0x18C6 /* 00001FD2 */
label0000389C:
0000389C 4E75 rts
0000389E 205F movea.l A0, [A7]+
000038A0 261F move.l D3, [A7]+
000038A2 2800 move.l D4, D0
000038A4 2F08 move.l -[A7], A0
000038A6 6100 F9BE bsr -0x640 /* 00003266 */
000038AA 6722 beq +0x24 /* 000038CE */
000038AC 2A11 move.l D5, [A1]
000038AE 4EBA 1FE2 jsr [PC + 0x1FE2 /* 00005892 */]
000038B2 6100 F4A4 bsr -0xB5A /* 00002D58 */
000038B6 2045 movea.l A0, D5
000038B8 2050 movea.l A0, [A0]
000038BA 2468 0008 movea.l A2, [A0 + 0x8]
000038BE 2F03 move.l -[A7], D3
000038C0 2F04 move.l -[A7], D4
000038C2 2F0A move.l -[A7], A2
000038C4 A9D1 syscall TESetSelect
000038C6 2F0A move.l -[A7], A2
000038C8 A811 syscall TESelView
000038CA 6100 E706 bsr -0x18F8 /* 00001FD2 */
label000038CE:
000038CE 4E75 rts
000038D0 4A40 tst.w D0
000038D2 6700 11F8 beq +0x11FA /* 00004ACC */
000038D6 4EBA 1722 jsr [PC + 0x1722 /* 00004FFA */]
000038DA 6602 bne +0x4 /* 000038DE */
000038DC 4E75 rts
label000038DE:
000038DE 2068 0008 movea.l A0, [A0 + 0x8]
000038E2 4EBA 16EA jsr [PC + 0x16EA /* 00004FCE */]
000038E6 610A bsr +0xC /* 000038F2 */
000038E8 487A 01FA pea.l [PC + 0x1FA /* 00003AE4, value 0x140002 */]
000038EC A899 syscall SetPenState
000038EE 4EFA 1DF4 jmp [PC + 0x1DF4 /* 000056E4 */]
fn000038F2:
000038F2 4EBA 1F9E jsr [PC + 0x1F9E /* 00005892 */]
000038F6 6100 F460 bsr -0xB9E /* 00002D58 */
000038FA 426D F658 clr.w [A5 - 0x9A8]
000038FE 202B 0008 move.l D0, [A3 + 0x8]
00003902 6710 beq +0x12 /* 00003914 */
00003904 2040 movea.l A0, D0
00003906 2050 movea.l A0, [A0]
00003908 3B68 0004 F658 move.w [A5 - 0x9A8], [A0 + 0x4]
0000390E 2F28 0008 move.l -[A7], [A0 + 0x8]
00003912 A9D9 syscall TEDeactivate
label00003914:
00003914 2743 0008 move.l [A3 + 0x8], D3
00003918 2043 movea.l A0, D3
0000391A 2050 movea.l A0, [A0]
0000391C 2F28 0008 move.l -[A7], [A0 + 0x8]
00003920 A9D8 syscall TEActivate
00003922 4E75 rts
label00003924:
00003924 202D F720 move.l D0, [A5 - 0x8E0]
00003928 90AD F4B0 sub.l D0, [A5 - 0xB50]
0000392C B0B8 02F0 cmp.l D0, [0x000002F0 /* DoubleTime */]
00003930 6214 bhi +0x16 /* 00003946 */
00003932 522D F4B5 addq.b [A5 - 0xB4B], 1
00003936 0C2D 0003 F4B5 cmpi.b [A5 - 0xB4B], 0x3
0000393C 630E bls +0x10 /* 0000394C */
0000393E 1B7C 0003 F4B5 move.b [A5 - 0xB4B], 0x3
00003944 6006 bra +0x8 /* 0000394C */
label00003946:
00003946 1B7C 0001 F4B5 move.b [A5 - 0xB4B], 0x1
label0000394C:
0000394C 2B6D F720 F4B0 move.l [A5 - 0xB50], [A5 - 0x8E0]
00003952 2B6D F724 F4B6 move.l [A5 - 0xB4A], [A5 - 0x8DC]
00003958 2B6D F4B6 F4BA move.l [A5 - 0xB46], [A5 - 0xB4A]
0000395E 2B4A F62E move.l [A5 - 0x9D2], A2
00003962 2E8A move.l [A7], A2
00003964 A873 syscall SetPort
00003966 4EBA 038C jsr [PC + 0x38C /* 00003CF4 */]
0000396A 7200 moveq.l D1, 0x00
0000396C 122D F4B5 move.b D1, [A5 - 0xB4B]
00003970 7004 moveq.l D0, 0x04
00003972 4EBA 0E32 jsr [PC + 0xE32 /* 000047A6 */]
00003976 6000 EF8A bra -0x1074 /* 00002902 */
0000397A 205F movea.l A0, [A7]+
0000397C 321F move.w D1, [A7]+
0000397E 225F movea.l A1, [A7]+
00003980 48E7 1FFA movem.l -[A7], D3,D4,D5,D6,D7,A0,A1,A2,A3,A4,A6
00003984 2609 move.l D3, A1
00003986 2651 movea.l A3, [A1]
00003988 78FF moveq.l D4, 0xFFFFFFFF
0000398A 0441 0014 subi.w D1, 0x14
0000398E 671A beq +0x1C /* 000039AA */
00003990 7801 moveq.l D4, 0x01
00003992 5341 subq.w D1, 1
00003994 6714 beq +0x16 /* 000039AA */
00003996 382B 0026 move.w D4, [A3 + 0x26]
0000399A 0244 7FFF andi.w D4, 0x7FFF
0000399E 4444 neg.w D4
000039A0 5341 subq.w D1, 1
000039A2 6706 beq +0x8 /* 000039AA */
000039A4 4444 neg.w D4
000039A6 5341 subq.w D1, 1
000039A8 6658 bne +0x5A /* 00003A02 */
label000039AA:
000039AA 558F subq.l A7, 2
000039AC 2F03 move.l -[A7], D3
000039AE A960 syscall GetControlValue/GetCtlValue
000039B0 3B57 F544 move.w [A5 - 0xABC], [A7]
000039B4 D85F add.w D4, [A7]+
000039B6 2F03 move.l -[A7], D3
000039B8 3F04 move.w -[A7], D4
000039BA A963 syscall SetControlValue/SetCtlValue
000039BC 42A7 clr.l -[A7]
000039BE A975 syscall TickCount
000039C0 202D F632 move.l D0, [A5 - 0x9CE]
000039C4 D197 add.l [A7], D0
000039C6 4EBA 20D6 jsr [PC + 0x20D6 /* 00005A9E */]
000039CA 4EBA 0328 jsr [PC + 0x328 /* 00003CF4 */]
000039CE 223C 0001 0000 move.l D1, 0x10000
000039D4 2043 movea.l A0, D3
000039D6 2050 movea.l A0, [A0]
000039D8 3228 0024 move.w D1, [A0 + 0x24]
000039DC 0241 1FFF andi.w D1, 0x1FFF
000039E0 7002 moveq.l D0, 0x02
000039E2 2C6D F758 movea.l A6, [A5 - 0x8A8]
000039E6 4EBA 0DBE jsr [PC + 0xDBE /* 000047A6 */]
000039EA 4EBA 1EA6 jsr [PC + 0x1EA6 /* 00005892 */]
000039EE 261F move.l D3, [A7]+
label000039F0:
000039F0 42A7 clr.l -[A7]
000039F2 A975 syscall TickCount
000039F4 B69F cmp.l D3, [A7]+
000039F6 64F8 bcc -0x6 /* 000039F0 */
000039F8 202D F632 move.l D0, [A5 - 0x9CE]
000039FC E288 lsr D0, 1
000039FE 2B40 F632 move.l [A5 - 0x9CE], D0
label00003A02:
00003A02 4CDF 5FF8 movem.l D3,D4,D5,D6,D7,A0,A1,A2,A3,A4,A6, [A7]+
00003A06 4ED0 jmp [A0]
label00003A08:
00003A08 2B48 F62E move.l [A5 - 0x9D2], A0
00003A0C 6100 EDCA bsr -0x1234 /* 000027D8 */
00003A10 4EAD 14A2 jsr [A5 + 0x14A2 /* export_656 */]
00003A14 206D F774 movea.l A0, [A5 - 0x88C]
00003A18 4EFA 00E2 jmp [PC + 0xE2 /* 00003AFC */]
fn00003A1C:
00003A1C 7600 moveq.l D3, 0x00
00003A1E 4A28 006F tst.b [A0 + 0x6F]
00003A22 57C3 seq D3
00003A24 1B43 FD21 move.b [A5 - 0x2DF], D3
fn00003A28:
00003A28 48E7 C0F0 movem.l -[A7], D0,D1,A0,A1,A2,A3
00003A2C 2648 movea.l A3, A0
00003A2E 598F subq.l A7, 4
00003A30 4857 pea.l [A7]
00003A32 A874 syscall GetPort
00003A34 2F0B move.l -[A7], A3
00003A36 A873 syscall SetPort
00003A38 082B 0006 009A btst.b [A3 + 0x9A], 0x6
00003A3E 6700 0008 beq +0xA /* 00003A48 */
00003A42 2F0B move.l -[A7], A3
00003A44 50E7 st -[A7]
00003A46 A91C syscall HiliteWindow
label00003A48:
00003A48 6100 F30E bsr -0xCF0 /* 00002D58 */
00003A4C 4EBA 1E44 jsr [PC + 0x1E44 /* 00005892 */]
00003A50 082B 0001 009A btst.b [A3 + 0x9A], 0x1
00003A56 6600 0064 bne +0x66 /* 00003ABC */
00003A5A 4A2D F73A tst.b [A5 - 0x8C6]
00003A5E 672C beq +0x2E /* 00003A8C */
00003A60 7000 moveq.l D0, 0x00
00003A62 102B 0099 move.b D0, [A3 + 0x99]
00003A66 6724 beq +0x26 /* 00003A8C */
00003A68 E948 lsl D0.w, 4
00003A6A 206D F748 movea.l A0, [A5 - 0x8B8]
00003A6E 4AB0 0000 tst.l [A0 + D0.w]
00003A72 6718 beq +0x1A /* 00003A8C */
00003A74 2230 0008 move.l D1, [A0 + D0.w + 0x8]
00003A78 6712 beq +0x14 /* 00003A8C */
00003A7A 2041 movea.l A0, D1
00003A7C 2050 movea.l A0, [A0]
00003A7E 2F28 0008 move.l -[A7], [A0 + 0x8]
00003A82 4A03 tst.b D3
00003A84 6704 beq +0x6 /* 00003A8A */
00003A86 A9D9 syscall TEDeactivate
00003A88 6002 bra +0x4 /* 00003A8C */
label00003A8A:
00003A8A A9D8 syscall TEActivate
label00003A8C:
00003A8C 45EB 008C lea.l A2, [A3 + 0x8C]
label00003A90:
00003A90 2012 move.l D0, [A2]
00003A92 6728 beq +0x2A /* 00003ABC */
00003A94 2440 movea.l A2, D0
00003A96 2052 movea.l A0, [A2]
00003A98 B628 0011 cmp.b D3, [A0 + 0x11]
00003A9C 671A beq +0x1C /* 00003AB8 */
00003A9E 4A03 tst.b D3
00003AA0 6608 bne +0xA /* 00003AAA */
00003AA2 0828 0007 0026 btst.b [A0 + 0x26], 0x7
00003AA8 660E bne +0x10 /* 00003AB8 */
label00003AAA:
00003AAA 2F0A move.l -[A7], A2
00003AAC 3F03 move.w -[A7], D3
00003AAE A95D syscall HiliteControl
00003AB0 2052 movea.l A0, [A2]
00003AB2 4868 0008 pea.l [A0 + 0x8]
00003AB6 A92A syscall ValidRect
label00003AB8:
00003AB8 2452 movea.l A2, [A2]
00003ABA 60D4 bra -0x2A /* 00003A90 */
label00003ABC:
00003ABC 4A2B 0098 tst.b [A3 + 0x98]
00003AC0 6708 beq +0xA /* 00003ACA */
00003AC2 0C2B 0008 0098 cmpi.b [A3 + 0x98], 0x8
00003AC8 6606 bne +0x8 /* 00003AD0 */
label00003ACA:
00003ACA A89E syscall PenNormal
00003ACC 2F0B move.l -[A7], A3
00003ACE A904 syscall DrawGrowIcon
label00003AD0:
00003AD0 204B movea.l A0, A3
00003AD2 6100 F0EA bsr -0xF14 /* 00002BBE */
00003AD6 487A 000C pea.l [PC + 0xC /* 00003AE4, value 0x140002 */]
00003ADA A899 syscall SetPenState
00003ADC A873 syscall SetPort
00003ADE 4CDF 0F03 movem.l D0,D1,A0,A1,A2,A3, [A7]+
00003AE2 4E75 rts
00003AE4 0014 0002 ori.b [A4], 0x2
00003AE8 0001 0001 ori.b D1, 0x1
00003AEC 0008 FFFF ori.b A0, 0xFF
00003AF0 FFFF .extension 0xFFF // unimplemented
00003AF2 FFFF .extension 0xFFF // unimplemented
00003AF4 FFFF .extension 0xFFF // unimplemented
00003AF6 0000 0000 ori.b D0, 0x0
00003AFA 0000 2B48 ori.b D0, 0x48 /* 'H' */
// begin alternate branch 00003AFC-00003B00
label00003AFC:
00003AFC 2B48 F62E move.l [A5 - 0x9D2], A0
// end alternate branch 00003AFC-00003B00
label00003AFC: // (misaligned)
00003AFE F62E .extension 0x62E // unimplemented
00003B00 2F08 move.l -[A7], A0
00003B02 A873 syscall SetPort
00003B04 486D F660 pea.l [A5 - 0x9A0]
00003B08 A88B syscall GetFontInfo
00003B0A A850 syscall InitCursor
00003B0C 6000 EDF4 bra -0x120A /* 00002902 */
00003B10 3B7C 270F F524 move.w [A5 - 0xADC], 0x270F
00003B16 206D F71C movea.l A0, [A5 - 0x8E4]
00003B1A 4EBA 004A jsr [PC + 0x4A /* 00003B66 */]
00003B1E 6700 EDE2 beq -0x121C /* 00002902 */
00003B22 7600 moveq.l D3, 0x00
00003B24 082D 0000 F729 btst.b [A5 - 0x8D7], 0x0
00003B2A 57C3 seq D3
00003B2C 6100 FEFA bsr -0x104 /* 00003A28 */
00003B30 598F subq.l A7, 4
00003B32 2F0F move.l -[A7], A7
00003B34 A874 syscall GetPort
00003B36 2F2D F71C move.l -[A7], [A5 - 0x8E4]
00003B3A A873 syscall SetPort
00003B3C 4EBA 01B6 jsr [PC + 0x1B6 /* 00003CF4 */]
00003B40 A873 syscall SetPort
00003B42 206D F71C movea.l A0, [A5 - 0x8E4]
00003B46 4A03 tst.b D3
00003B48 6654 bne +0x56 /* 00003B9E */
00003B4A B1ED F774 cmpa.l A0, [A5 - 0x88C]
00003B4E 67AC beq -0x52 /* 00003AFC */
00003B50 B1ED F82C cmpa.l A0, [A5 - 0x7D4]
00003B54 6700 FEB2 beq -0x14C /* 00003A08 */
00003B58 6120 bsr +0x22 /* 00003B7A */
00003B5A 6700 EDA6 beq -0x1258 /* 00002902 */
00003B5E 1B68 009A F64A move.b [A5 - 0x9B6], [A0 + 0x9A]
00003B64 6038 bra +0x3A /* 00003B9E */
fn00003B66:
00003B66 B1ED F774 cmpa.l A0, [A5 - 0x88C]
00003B6A 6706 beq +0x8 /* 00003B72 */
00003B6C B1ED F82C cmpa.l A0, [A5 - 0x7D4]
00003B70 6608 bne +0xA /* 00003B7A */
label00003B72:
00003B72 70FF moveq.l D0, 0xFFFFFFFF
00003B74 4E75 rts
fn00003B76:
00003B76 206D F62E movea.l A0, [A5 - 0x9D2]
fn00003B7A:
00003B7A 4A2D F73A tst.b [A5 - 0x8C6]
00003B7E 6718 beq +0x1A /* 00003B98 */
00003B80 222D F748 move.l D1, [A5 - 0x8B8]
00003B84 6712 beq +0x14 /* 00003B98 */
00003B86 2241 movea.l A1, D1
00003B88 7200 moveq.l D1, 0x00
00003B8A 1228 0099 move.b D1, [A0 + 0x99]
00003B8E 670A beq +0xC /* 00003B9A */
00003B90 E949 lsl D1.w, 4
00003B92 B1F1 1000 cmpa.l A0, [A1 + D1.w]
00003B96 6702 beq +0x4 /* 00003B9A */
label00003B98:
00003B98 7200 moveq.l D1, 0x00
label00003B9A:
00003B9A E849 lsr D1.w, 4
00003B9C 4E75 rts
label00003B9E:
00003B9E 61DA bsr -0x24 /* 00003B7A */
00003BA0 6730 beq +0x32 /* 00003BD2 */
00003BA2 4A03 tst.b D3
00003BA4 6702 beq +0x4 /* 00003BA8 */
00003BA6 4441 neg.w D1
label00003BA8:
00003BA8 0081 0012 0000 ori.l D1, 0x120000
00003BAE 7002 moveq.l D0, 0x02
00003BB0 48E7 F080 movem.l -[A7], D0,D1,D2,D3,A0
00003BB4 4EBA 0BF0 jsr [PC + 0xBF0 /* 000047A6 */]
00003BB8 4CDF 010F movem.l D0,D1,D2,D3,A0, [A7]+
00003BBC 4A03 tst.b D3
00003BBE 6612 bne +0x14 /* 00003BD2 */
00003BC0 0828 0004 009A btst.b [A0 + 0x9A], 0x4
00003BC6 670A beq +0xC /* 00003BD2 */
00003BC8 2B6D F65C F724 move.l [A5 - 0x8DC], [A5 - 0x9A4]
00003BCE 6600 F3C2 bne -0xC3C /* 00002F92 */
label00003BD2:
00003BD2 6000 ED2E bra -0x12D0 /* 00002902 */
00003BD6 4A2D F64A tst.b [A5 - 0x9B6]
00003BDA 6A00 ED26 bpl -0x12D8 /* 00002902 */
label00003BDE:
00003BDE 3F3C 0003 move.w -[A7], 0x3
00003BE2 A9C8 syscall SysBeep
00003BE4 6000 ED1C bra -0x12E2 /* 00002902 */
00003BE8 42A7 clr.l -[A7]
00003BEA A924 syscall FrontWindow
00003BEC 246D F778 movea.l A2, [A5 - 0x888]
00003BF0 B5DF cmpa.l A2, [A7]+
00003BF2 6726 beq +0x28 /* 00003C1A */
00003BF4 B5ED F774 cmpa.l A2, [A5 - 0x88C]
00003BF8 6720 beq +0x22 /* 00003C1A */
00003BFA B5ED F82C cmpa.l A2, [A5 - 0x7D4]
00003BFE 671A beq +0x1C /* 00003C1A */
00003C00 204A movea.l A0, A2
00003C02 6100 FF76 bsr -0x88 /* 00003B7A */
00003C06 6700 F974 beq -0x68A /* 0000357C */
00003C0A 4A2D F64A tst.b [A5 - 0x9B6]
00003C0E 6BCE bmi -0x30 /* 00003BDE */
00003C10 082A 0005 009A btst.b [A2 + 0x9A], 0x5
00003C16 6600 0058 bne +0x5A /* 00003C70 */
label00003C1A:
00003C1A 2F0A move.l -[A7], A2
00003C1C 2F2D F724 move.l -[A7], [A5 - 0x8DC]
00003C20 487A 1F20 pea.l [PC + 0x1F20 /* 00005B42, value 0x0 */]
00003C24 4EBA 06D2 jsr [PC + 0x6D2 /* 000042F8 */]
00003C28 A925 syscall DragWindow
00003C2A 4EBA 1D22 jsr [PC + 0x1D22 /* 0000594E */]
00003C2E 6104 bsr +0x6 /* 00003C34 */
00003C30 6000 ECD0 bra -0x132E /* 00002902 */
fn00003C34:
00003C34 206D F774 movea.l A0, [A5 - 0x88C]
00003C38 B1ED F778 cmpa.l A0, [A5 - 0x888]
00003C3C 6630 bne +0x32 /* 00003C6E */
00003C3E 2248 movea.l A1, A0
00003C40 4A68 0006 tst.w [A0 + 0x6]
00003C44 6A08 bpl +0xA /* 00003C4E */
00003C46 2268 0002 movea.l A1, [A0 + 0x2]
00003C4A 2251 movea.l A1, [A1]
00003C4C 5589 subq.l A1, 2
label00003C4E:
00003C4E 2F0A move.l -[A7], A2
00003C50 45ED FD6A lea.l A2, [A5 - 0x296]
00003C54 3029 0008 move.w D0, [A1 + 0x8]
00003C58 4440 neg.w D0
00003C5A 34C0 move.w [A2]+, D0
00003C5C 3229 000A move.w D1, [A1 + 0xA]
00003C60 4441 neg.w D1
00003C62 34C1 move.w [A2]+, D1
00003C64 24A8 0014 move.l [A2], [A0 + 0x14]
00003C68 D15A add.w [A2]+, D0
00003C6A D352 add.w [A2], D1
00003C6C 245F movea.l A2, [A7]+
label00003C6E:
00003C6E 4E75 rts
label00003C70:
00003C70 598F subq.l A7, 4
00003C72 4857 pea.l [A7]
00003C74 A874 syscall GetPort
00003C76 2F0A move.l -[A7], A2
00003C78 A873 syscall SetPort
00003C7A 41ED F610 lea.l A0, [A5 - 0x9F0]
00003C7E 4290 clr.l [A0]
00003C80 2F08 move.l -[A7], A0
00003C82 A870 syscall LocalToGlobal
00003C84 42A7 clr.l -[A7]
00003C86 A8D8 syscall NewRgn
00003C88 261F move.l D3, [A7]+
00003C8A 2F2A 0072 move.l -[A7], [A2 + 0x72]
00003C8E 2F03 move.l -[A7], D3
00003C90 A8DC syscall CopyRgn
00003C92 2F38 09DE move.l -[A7], [0x000009DE /* WMgrPort */]
00003C96 A873 syscall SetPort
00003C98 487A 1EA8 pea.l [PC + 0x1EA8 /* 00005B42, value 0x0 */]
00003C9C A87B syscall ClipRect
00003C9E 42A7 clr.l -[A7]
00003CA0 2F03 move.l -[A7], D3
00003CA2 2F2D F724 move.l -[A7], [A5 - 0x8DC]
00003CA6 487A 1E9A pea.l [PC + 0x1E9A /* 00005B42, value 0x0 */]
00003CAA 487A 1E96 pea.l [PC + 0x1E96 /* 00005B42, value 0x0 */]
00003CAE 4267 clr.w -[A7]
00003CB0 42A7 clr.l -[A7]
00003CB2 A905 syscall DragGrayRgn
00003CB4 201F move.l D0, [A7]+
00003CB6 0C40 8000 cmpi.w D0, 0x8000
00003CBA 6726 beq +0x28 /* 00003CE2 */
00003CBC 2F2D F610 move.l -[A7], [A5 - 0x9F0]
00003CC0 2F0A move.l -[A7], A2
00003CC2 A873 syscall SetPort
00003CC4 4EBA 1CA2 jsr [PC + 0x1CA2 /* 00005968 */]
00003CC8 2B5F F610 move.l [A5 - 0x9F0], [A7]+
00003CCC 2F0A move.l -[A7], A2
00003CCE D06D F612 add.w D0, [A5 - 0x9EE]
00003CD2 3F00 move.w -[A7], D0
00003CD4 4840 swap.w D0
00003CD6 D06D F610 add.w D0, [A5 - 0x9F0]
00003CDA 3F00 move.w -[A7], D0
00003CDC 4267 clr.w -[A7]
00003CDE A91B syscall MoveWindow
00003CE0 2E8A move.l [A7], A2
label00003CE2:
00003CE2 2F03 move.l -[A7], D3
00003CE4 A8D9 syscall DisposRgn/DisposeRgn
00003CE6 A873 syscall SetPort
00003CE8 4EBA 1C64 jsr [PC + 0x1C64 /* 0000594E */]
00003CEC 6000 EC14 bra -0x13EA /* 00002902 */
fn00003CF0:
00003CF0 4EBA 1B80 jsr [PC + 0x1B80 /* 00005872 */]
fn00003CF4:
00003CF4 206D FFFC movea.l A0, [A5 - 0x4]
00003CF8 2B68 0010 F678 move.l [A5 - 0x988], [A0 + 0x10]
00003CFE 2B68 0014 F67C move.l [A5 - 0x984], [A0 + 0x14]
00003D04 4A28 0098 tst.b [A0 + 0x98]
00003D08 6710 beq +0x12 /* 00003D1A */
00003D0A 0C28 0004 0098 cmpi.b [A0 + 0x98], 0x4
00003D10 6718 beq +0x1A /* 00003D2A */
00003D12 0C28 0008 0098 cmpi.b [A0 + 0x98], 0x8
00003D18 6608 bne +0xA /* 00003D22 */
label00003D1A:
00003D1A 04AD 000F 000F F67C subi.l [A5 - 0x984], 0xF000F
label00003D22:
00003D22 6100 E43C bsr -0x1BC2 /* 00002160 */
00003D26 4EFA 19BC jmp [PC + 0x19BC /* 000056E4 */]
label00003D2A:
00003D2A 51ED F64C sf [A5 - 0x9B4]
00003D2E 41E8 008C lea.l A0, [A0 + 0x8C]
label00003D32:
00003D32 2010 move.l D0, [A0]
00003D34 67EC beq -0x12 /* 00003D22 */
00003D36 2040 movea.l A0, D0
00003D38 2050 movea.l A0, [A0]
00003D3A 1028 0024 move.b D0, [A0 + 0x24]
00003D3E EA08 lsr D0.b, 5
00003D40 5B00 subq.b D0, 5
00003D42 671A beq +0x1C /* 00003D5E */
00003D44 5300 subq.b D0, 1
00003D46 66EA bne -0x14 /* 00003D32 */
00003D48 082D 0001 F64C btst.b [A5 - 0x9B4], 0x1
00003D4E 66E2 bne -0x1C /* 00003D32 */
00003D50 046D 000F F67C subi.w [A5 - 0x984], 0xF
00003D56 08ED 0001 F64C bset.b [A5 - 0x9B4], 0x1
00003D5C 60D4 bra -0x2A /* 00003D32 */
label00003D5E:
00003D5E 082D 0000 F64C btst.b [A5 - 0x9B4], 0x0
00003D64 66CC bne -0x32 /* 00003D32 */
00003D66 046D 000F F67E subi.w [A5 - 0x982], 0xF
00003D6C 08ED 0000 F64C bset.b [A5 - 0x9B4], 0x0
00003D72 60BE bra -0x40 /* 00003D32 */
00003D74 4A6D F6A8 tst.w [A5 - 0x958]
00003D78 6700 0014 beq +0x16 /* 00003D8E */
00003D7C 2F2D F69C move.l -[A7], [A5 - 0x964]
00003D80 4267 clr.w -[A7]
00003D82 4A40 tst.w D0
00003D84 6604 bne +0x6 /* 00003D8A */
00003D86 A93A syscall DisableItem
00003D88 6052 bra +0x54 /* 00003DDC */
label00003D8A:
00003D8A A939 syscall EnableItem
00003D8C 604E bra +0x50 /* 00003DDC */
label00003D8E:
00003D8E 3B40 F6A8 move.w [A5 - 0x958], D0
00003D92 674C beq +0x4E /* 00003DE0 */
00003D94 6A18 bpl +0x1A /* 00003DAE */
00003D96 4440 neg.w D0
00003D98 3B40 F6A8 move.w [A5 - 0x958], D0
00003D9C 3600 move.w D3, D0
00003D9E 42A7 clr.l -[A7]
00003DA0 3F03 move.w -[A7], D3
00003DA2 A9BF syscall GetRMenu
00003DA4 2B57 F69C move.l [A5 - 0x964], [A7]
00003DA8 3F03 move.w -[A7], D3
00003DAA A935 syscall InsertMenu
00003DAC 602E bra +0x30 /* 00003DDC */
label00003DAE:
00003DAE 3600 move.w D3, D0
00003DB0 598F subq.l A7, 4
00003DB2 3F00 move.w -[A7], D0
00003DB4 7217 moveq.l D1, 0x17
00003DB6 4EBA D774 jsr [PC - 0x288C /* 0000152C */]
00003DBA 486D FA7E pea.l [A5 - 0x582]
00003DBE A931 syscall NewMenu
00003DC0 2B57 F69C move.l [A5 - 0x964], [A7]
00003DC4 4EBA 0186 jsr [PC + 0x186 /* 00003F4C */]
00003DC8 3F03 move.w -[A7], D3
00003DCA A935 syscall InsertMenu
00003DCC 2F2D F69C move.l -[A7], [A5 - 0x964]
00003DD0 7218 moveq.l D1, 0x18
00003DD2 4EBA D758 jsr [PC - 0x28A8 /* 0000152C */]
00003DD6 486D FA7E pea.l [A5 - 0x582]
00003DDA A933 syscall AppendMenu
label00003DDC:
00003DDC 50ED F64D st [A5 - 0x9B3]
label00003DE0:
00003DE0 4E75 rts
fn00003DE2:
00003DE2 4A2D F64D tst.b [A5 - 0x9B3]
00003DE6 6706 beq +0x8 /* 00003DEE */
00003DE8 51ED F64D sf [A5 - 0x9B3]
00003DEC A937 syscall DrawMenuBar
label00003DEE:
00003DEE 4E75 rts
label00003DF0:
00003DF0 201F move.l D0, [A7]+
00003DF2 2C1F move.l D6, [A7]+
00003DF4 3A1F move.w D5, [A7]+
00003DF6 381F move.w D4, [A7]+
00003DF8 361F move.w D3, [A7]+
00003DFA 6A02 bpl +0x4 /* 00003DFE */
00003DFC 4443 neg.w D3
label00003DFE:
00003DFE 2F00 move.l -[A7], D0
00003E00 4A86 tst.l D6
00003E02 670A beq +0xC /* 00003E0E */
00003E04 42A7 clr.l -[A7]
00003E06 3F03 move.w -[A7], D3
00003E08 A949 syscall GetMenuHandle
00003E0A 2E1F move.l D7, [A7]+
00003E0C 6624 bne +0x26 /* 00003E32 */
label00003E0E:
00003E0E 3F03 move.w -[A7], D3
00003E10 A936 syscall DeleteMenu
00003E12 42A7 clr.l -[A7]
00003E14 3F03 move.w -[A7], D3
00003E16 A9BF syscall GetRMenu
00003E18 2E1F move.l D7, [A7]+
00003E1A 6736 beq +0x38 /* 00003E52 */
00003E1C 2F07 move.l -[A7], D7
00003E1E 3F3C FFFF move.w -[A7], 0xFFFF
00003E22 5444 addq.w D4, 2
00003E24 6706 beq +0x8 /* 00003E2C */
00003E26 50ED F64D st [A5 - 0x9B3]
00003E2A 3E83 move.w [A7], D3
label00003E2C:
00003E2C A935 syscall InsertMenu
00003E2E 4A86 tst.l D6
00003E30 6716 beq +0x18 /* 00003E48 */
label00003E32:
00003E32 2046 movea.l A0, D6
00003E34 5288 addq.l A0, 1
00003E36 43ED F610 lea.l A1, [A5 - 0x9F0]
00003E3A 12D8 move.b [A1]+, [A0]+
00003E3C 12D8 move.b [A1]+, [A0]+
00003E3E 12D8 move.b [A1]+, [A0]+
00003E40 12D8 move.b [A1]+, [A0]+
00003E42 2F07 move.l -[A7], D7
00003E44 2F21 move.l -[A7], -[A1]
00003E46 A94D syscall AppendResMenu/AddResMenu
label00003E48:
00003E48 4A45 tst.w D5
00003E4A 6606 bne +0x8 /* 00003E52 */
00003E4C 2F07 move.l -[A7], D7
00003E4E 4267 clr.w -[A7]
00003E50 A93A syscall DisableItem
label00003E52:
00003E52 4E75 rts
00003E54 422D F64C clr.b [A5 - 0x9B4]
00003E58 362F 000C move.w D3, [A7 + 0xC]
00003E5C 382F 000A move.w D4, [A7 + 0xA]
00003E60 6700 009E beq +0xA0 /* 00003F00 */
00003E64 6B8A bmi -0x74 /* 00003DF0 */
00003E66 598F subq.l A7, 4
00003E68 3F03 move.w -[A7], D3
00003E6A A949 syscall GetMenuHandle
00003E6C 2E1F move.l D7, [A7]+
00003E6E 6768 beq +0x6A /* 00003ED8 */
00003E70 558F subq.l A7, 2
00003E72 2F07 move.l -[A7], D7
00003E74 A950 syscall CountMItems
00003E76 3C1F move.w D6, [A7]+
00003E78 B846 cmp.w D4, D6
00003E7A 6200 0064 bhi +0x66 /* 00003EE0 */
00003E7E 4AAF 0004 tst.l [A7 + 0x4]
00003E82 670A beq +0xC /* 00003E8E */
00003E84 2F07 move.l -[A7], D7
00003E86 3F04 move.w -[A7], D4
00003E88 2F2F 000A move.l -[A7], [A7 + 0xA]
00003E8C A947 syscall SetMenuItemText/SetItem
label00003E8E:
00003E8E 3A2F 0008 move.w D5, [A7 + 0x8]
00003E92 672C beq +0x2E /* 00003EC0 */
00003E94 5345 subq.w D5, 1
00003E96 6718 beq +0x1A /* 00003EB0 */
00003E98 4A44 tst.w D4
00003E9A 6714 beq +0x16 /* 00003EB0 */
00003E9C 5305 subq.b D5, 1
00003E9E 6602 bne +0x4 /* 00003EA2 */
00003EA0 7A10 moveq.l D5, 0x10
label00003EA2:
00003EA2 5405 addq.b D5, 2
00003EA4 2F07 move.l -[A7], D7
00003EA6 3F04 move.w -[A7], D4
00003EA8 3F05 move.w -[A7], D5
00003EAA 1E85 move.b [A7], D5
00003EAC A944 syscall SetItmMark
00003EAE 6008 bra +0xA /* 00003EB8 */
label00003EB0:
00003EB0 2F07 move.l -[A7], D7
00003EB2 3F04 move.w -[A7], D4
00003EB4 4267 clr.w -[A7]
00003EB6 A944 syscall SetItmMark
label00003EB8:
00003EB8 2F07 move.l -[A7], D7
00003EBA 3F04 move.w -[A7], D4
00003EBC A939 syscall EnableItem
00003EBE 600E bra +0x10 /* 00003ECE */
label00003EC0:
00003EC0 2F07 move.l -[A7], D7
00003EC2 3F04 move.w -[A7], D4
00003EC4 A93A syscall DisableItem
00003EC6 2F07 move.l -[A7], D7
00003EC8 3F04 move.w -[A7], D4
00003ECA 4267 clr.w -[A7]
00003ECC A944 syscall SetItmMark
label00003ECE:
00003ECE 4A2D F64C tst.b [A5 - 0x9B4]
00003ED2 6704 beq +0x6 /* 00003ED8 */
00003ED4 50ED F64D st [A5 - 0x9B3]
label00003ED8:
00003ED8 205F movea.l A0, [A7]+
00003EDA 4FEF 000A lea.l A7, [A7 + 0xA]
00003EDE 4ED0 jmp [A0]
label00003EE0:
00003EE0 3A04 move.w D5, D4
00003EE2 9A46 sub.w D5, D6
00003EE4 5345 subq.w D5, 1
00003EE6 670E beq +0x10 /* 00003EF6 */
00003EE8 5345 subq.w D5, 1
label00003EEA:
00003EEA 2F07 move.l -[A7], D7
00003EEC 487A 1C8E pea.l [PC + 0x1C8E /* 00005B7C, value 0x2282D00, pstring "(-" */]
00003EF0 A933 syscall AppendMenu
00003EF2 51CD FFF6 dbf D5, -0xC /* 00003EEA */
label00003EF6:
00003EF6 2F07 move.l -[A7], D7
00003EF8 2F2F 0008 move.l -[A7], [A7 + 0x8]
00003EFC A933 syscall AppendMenu
00003EFE 608E bra -0x70 /* 00003E8E */
label00003F00:
00003F00 50ED F64C st [A5 - 0x9B4]
00003F04 3A03 move.w D5, D3
00003F06 598F subq.l A7, 4
00003F08 3F03 move.w -[A7], D3
00003F0A A949 syscall GetMenuHandle
00003F0C 2E1F move.l D7, [A7]+
00003F0E 6726 beq +0x28 /* 00003F36 */
00003F10 4AAF 0004 tst.l [A7 + 0x4]
00003F14 6612 bne +0x14 /* 00003F28 */
label00003F16:
00003F16 2F07 move.l -[A7], D7
00003F18 3F04 move.w -[A7], D4
00003F1A 4A6F 000E tst.w [A7 + 0xE]
00003F1E 6704 beq +0x6 /* 00003F24 */
00003F20 A939 syscall EnableItem
00003F22 60AA bra -0x54 /* 00003ECE */
label00003F24:
00003F24 A93A syscall DisableItem
00003F26 60A6 bra -0x58 /* 00003ECE */
label00003F28:
00003F28 0C43 001F cmpi.w D3, 0x1F
00003F2C 64AA bcc -0x54 /* 00003ED8 */
00003F2E 3F05 move.w -[A7], D5
00003F30 A936 syscall DeleteMenu
00003F32 2F07 move.l -[A7], D7
00003F34 A932 syscall DisposeMenu
label00003F36:
00003F36 598F subq.l A7, 4
00003F38 3F05 move.w -[A7], D5
00003F3A 2F2F 000A move.l -[A7], [A7 + 0xA]
00003F3E A931 syscall NewMenu
00003F40 2E17 move.l D7, [A7]
00003F42 3605 move.w D3, D5
00003F44 6106 bsr +0x8 /* 00003F4C */
00003F46 3F03 move.w -[A7], D3
00003F48 A935 syscall InsertMenu
00003F4A 60CA bra -0x34 /* 00003F16 */
fn00003F4C:
00003F4C 5243 addq.w D3, 1
00003F4E 0C43 001F cmpi.w D3, 0x1F
00003F52 620C bhi +0xE /* 00003F60 */
00003F54 598F subq.l A7, 4
00003F56 3F03 move.w -[A7], D3
00003F58 A949 syscall GetMenuHandle
00003F5A 201F move.l D0, [A7]+
00003F5C 67EE beq -0x10 /* 00003F4C */
00003F5E 4E75 rts
label00003F60:
00003F60 7000 moveq.l D0, 0x00
00003F62 4E75 rts
00003F64 3600 move.w D3, D0
00003F66 6728 beq +0x2A /* 00003F90 */
00003F68 6A08 bpl +0xA /* 00003F72 */
00003F6A 4440 neg.w D0
00003F6C 0C40 0040 cmpi.w D0, 0x40 /* '@' */
00003F70 641E bcc +0x20 /* 00003F90 */
label00003F72:
00003F72 206D F748 movea.l A0, [A5 - 0x8B8]
00003F76 E948 lsl D0.w, 4
00003F78 2670 0000 movea.l A3, [A0 + D0.w]
00003F7C 6712 beq +0x14 /* 00003F90 */
00003F7E 2F0B move.l -[A7], A3
00003F80 4A43 tst.w D3
00003F82 5AE7 spl -[A7]
00003F84 A91C syscall HiliteWindow
00003F86 2F0B move.l -[A7], A3
00003F88 A873 syscall SetPort
00003F8A 204B movea.l A0, A3
00003F8C 6100 FA9A bsr -0x564 /* 00003A28 */
label00003F90:
00003F90 4E75 rts
00003F92 486D F636 pea.l [A5 - 0x9CA]
00003F96 A874 syscall GetPort
00003F98 2F2D F636 move.l -[A7], [A5 - 0x9CA]
00003F9C A922 syscall BeginUpdate
00003F9E 4EBA 18F2 jsr [PC + 0x18F2 /* 00005892 */]
00003FA2 487A 1B9E pea.l [PC + 0x1B9E /* 00005B42, value 0x0 */]
00003FA6 A8A3 syscall EraseRect
00003FA8 6100 EDBA bsr -0x1244 /* 00002D64 */
00003FAC 2F2D F636 move.l -[A7], [A5 - 0x9CA]
00003FB0 A969 syscall DrawControls
00003FB2 6100 EC06 bsr -0x13F8 /* 00002BBA */
00003FB6 6100 FD3C bsr -0x2C2 /* 00003CF4 */
00003FBA 2F2D F636 move.l -[A7], [A5 - 0x9CA]
00003FBE A923 syscall EndUpdate
00003FC0 4E75 rts
export_56:
00003FC2 422D F64A clr.b [A5 - 0x9B6]
00003FC6 2F2D F774 move.l -[A7], [A5 - 0x88C]
00003FCA A916 syscall HideWindow
00003FCC 266D F748 movea.l A3, [A5 - 0x8B8]
00003FD0 422D F64C clr.b [A5 - 0x9B4]
00003FD4 2B7A 1B64 F610 move.l [A5 - 0x9F0], [PC + 0x1B64 /* 00005B3A, value 0x2B0004 */]
00003FDA 2B7A 1B62 F614 move.l [A5 - 0x9EC], [PC + 0x1B62 /* 00005B3E, value 0x15001FA */]
00003FE0 245F movea.l A2, [A7]+
00003FE2 3B5F F53C move.w [A5 - 0xAC4], [A7]+
00003FE6 361F move.w D3, [A7]+
00003FE8 6602 bne +0x4 /* 00003FEC */
00003FEA 7601 moveq.l D3, 0x01
label00003FEC:
00003FEC 6A08 bpl +0xA /* 00003FF6 */
00003FEE 4443 neg.w D3
00003FF0 1B7C 0080 F64A move.b [A5 - 0x9B6], 0x80
label00003FF6:
00003FF6 3003 move.w D0, D3
00003FF8 0243 01FF andi.w D3, 0x1FF
00003FFC E048 lsr D0.w, 8
00003FFE 812D F64A or.b [A5 - 0x9B6], D0
00004002 0C03 0009 cmpi.b D3, 0x9 /* '\t' */
00004006 6608 bne +0xA /* 00004010 */
00004008 4A78 028E tst.w [0x0000028E /* ROM85 */]
0000400C 6A02 bpl +0x4 /* 00004010 */
0000400E 5103 subq.b D3, 8
label00004010:
00004010 4A5F tst.w [A7]+
00004012 670A beq +0xC /* 0000401E */
00004014 08ED 0001 F64C bset.b [A5 - 0x9B4], 0x1
0000401A 2B5F F614 move.l [A5 - 0x9EC], [A7]+
label0000401E:
0000401E 4A5F tst.w [A7]+
00004020 670A beq +0xC /* 0000402C */
00004022 2B5F F610 move.l [A5 - 0x9F0], [A7]+
00004026 08ED 0000 F64C bset.b [A5 - 0x9B4], 0x0
label0000402C:
0000402C 08ED 0002 F64C bset.b [A5 - 0x9B4], 0x2
00004032 281F move.l D4, [A7]+
00004034 6612 bne +0x14 /* 00004048 */
00004036 08AD 0002 F64C bclr.b [A5 - 0x9B4], 0x2
0000403C 7219 moveq.l D1, 0x19
0000403E 4EBA D4EC jsr [PC - 0x2B14 /* 0000152C */]
00004042 486D FA7E pea.l [A5 - 0x582]
00004046 281F move.l D4, [A7]+
label00004048:
00004048 3A1F move.w D5, [A7]+
0000404A 48C5 ext.l D5
0000404C 6A02 bpl +0x4 /* 00004050 */
0000404E 4445 neg.w D5
label00004050:
00004050 2F0A move.l -[A7], A2
00004052 0245 003F andi.w D5, 0x3F /* '?' */
00004056 6606 bne +0x8 /* 0000405E */
00004058 7216 moveq.l D1, 0x16
0000405A 4EFA C85C jmp [PC - 0x37A4 /* 000008B8 */]
label0000405E:
0000405E E94D lsl D5.w, 4
00004060 4AB3 5000 tst.l [A3 + D5.w]
00004064 6600 00AC bne +0xAE /* 00004112 */
00004068 598F subq.l A7, 4
0000406A 42A7 clr.l -[A7]
0000406C 6100 F328 bsr -0xCD6 /* 00003396 */
00004070 4851 pea.l [A1]
00004072 70FF moveq.l D0, 0xFFFFFFFF
00004074 2F04 move.l -[A7], D4
00004076 4A85 tst.l D5
00004078 6A04 bpl +0x6 /* 0000407E */
0000407A 4267 clr.w -[A7]
0000407C 6002 bra +0x4 /* 00004080 */
label0000407E:
0000407E 3F00 move.w -[A7], D0
label00004080:
00004080 5303 subq.b D3, 1
00004082 3F03 move.w -[A7], D3
00004084 0257 00FF andi.w [A7], 0xFF
00004088 2F00 move.l -[A7], D0
0000408A 082D 0005 F64A btst.b [A5 - 0x9B6], 0x5
00004090 6702 beq +0x4 /* 00004094 */
00004092 4297 clr.l [A7]
label00004094:
00004094 3F00 move.w -[A7], D0
00004096 0803 0008 btst.b D3, 0x8
0000409A 6702 beq +0x4 /* 0000409E */
0000409C 4257 clr.w [A7]
label0000409E:
0000409E 42A7 clr.l -[A7]
000040A0 1F6D F53D 0003 move.b [A7 + 0x3], [A5 - 0xAC3]
000040A6 E84D lsr D5.w, 4
000040A8 1F45 0001 move.b [A7 + 0x1], D5
000040AC E94D lsl D5.w, 4
000040AE 1F6D F64A 0002 move.b [A7 + 0x2], [A5 - 0x9B6]
000040B4 1E83 move.b [A7], D3
000040B6 4A2D FD89 tst.b [A5 - 0x277]
000040BA 670E beq +0x10 /* 000040CA */
000040BC 3038 028E move.w D0, [0x0000028E /* ROM85 */]
000040C0 0240 C000 andi.w D0, 0xC000
000040C4 6604 bne +0x6 /* 000040CA */
000040C6 AA45 syscall NewCWindow
000040C8 6002 bra +0x4 /* 000040CC */
label000040CA:
000040CA A913 syscall NewWindow
label000040CC:
000040CC 2457 movea.l A2, [A7]
000040CE 278A 5000 move.l [A3 + D5.w], A2
000040D2 2B4A F62E move.l [A5 - 0x9D2], A2
000040D6 A873 syscall SetPort
000040D8 082A 0003 009A btst.b [A2 + 0x9A], 0x3
000040DE 6606 bne +0x8 /* 000040E6 */
000040E0 487A 1A60 pea.l [PC + 0x1A60 /* 00005B42, value 0x0 */]
000040E4 A92A syscall ValidRect
label000040E6:
000040E6 0C03 0008 cmpi.b D3, 0x8
000040EA 6704 beq +0x6 /* 000040F0 */
000040EC 4A03 tst.b D3
000040EE 6604 bne +0x6 /* 000040F4 */
label000040F0:
000040F0 6100 F368 bsr -0xC96 /* 0000345A */
label000040F4:
000040F4 487A 1A54 pea.l [PC + 0x1A54 /* 00005B4A, value 0x0 */]
000040F8 A928 syscall InvalRect
000040FA 42A7 clr.l -[A7]
000040FC A878 syscall SetOrigin
000040FE 42B3 5004 clr.l [A3 + D5.w + 0x4]
00004102 42B3 5008 clr.l [A3 + D5.w + 0x8]
00004106 42B3 500C clr.l [A3 + D5.w + 0xC]
0000410A 6100 FBE8 bsr -0x416 /* 00003CF4 */
0000410E 6000 DC44 bra -0x23BA /* 00001D54 */
label00004112:
00004112 2673 5000 movea.l A3, [A3 + D5.w]
00004116 2F0B move.l -[A7], A3
00004118 4A85 tst.l D5
0000411A 6B04 bmi +0x6 /* 00004120 */
0000411C A915 syscall ShowWindow
0000411E 6002 bra +0x4 /* 00004122 */
label00004120:
00004120 A916 syscall HideWindow
label00004122:
00004122 2F0B move.l -[A7], A3
00004124 A873 syscall SetPort
00004126 2B4B F62E move.l [A5 - 0x9D2], A3
0000412A 082D 0002 F64C btst.b [A5 - 0x9B4], 0x2
00004130 6706 beq +0x8 /* 00004138 */
00004132 2F0B move.l -[A7], A3
00004134 2F04 move.l -[A7], D4
00004136 A91A syscall SetWTitle
label00004138:
00004138 082D 0000 F64C btst.b [A5 - 0x9B4], 0x0
0000413E 670A beq +0xC /* 0000414A */
00004140 2F0B move.l -[A7], A3
00004142 2F2D F610 move.l -[A7], [A5 - 0x9F0]
00004146 4267 clr.w -[A7]
00004148 A91B syscall MoveWindow
label0000414A:
0000414A 082D 0001 F64C btst.b [A5 - 0x9B4], 0x1
00004150 6724 beq +0x26 /* 00004176 */
00004152 42AD F610 clr.l [A5 - 0x9F0]
00004156 486D F610 pea.l [A5 - 0x9F0]
0000415A A870 syscall LocalToGlobal
0000415C 202D F614 move.l D0, [A5 - 0x9EC]
00004160 90AD F610 sub.l D0, [A5 - 0x9F0]
00004164 2F0B move.l -[A7], A3
00004166 2F00 move.l -[A7], D0
00004168 50E7 st -[A7]
0000416A A91D syscall SizeWindow
0000416C 4EBA 1704 jsr [PC + 0x1704 /* 00005872 */]
00004170 204B movea.l A0, A3
00004172 6100 F332 bsr -0xCCC /* 000034A6 */
label00004176:
00004176 082B 0005 009A btst.b [A3 + 0x9A], 0x5
0000417C 6700 0090 beq +0x92 /* 0000420E */
00004180 7600 moveq.l D3, 0x00
00004182 42A7 clr.l -[A7]
00004184 A924 syscall FrontWindow
00004186 201F move.l D0, [A7]+
label00004188:
00004188 B08B cmp.l D0, A3
0000418A 6718 beq +0x1A /* 000041A4 */
0000418C 2040 movea.l A0, D0
0000418E 6100 F9EA bsr -0x614 /* 00003B7A */
00004192 6710 beq +0x12 /* 000041A4 */
00004194 0828 0005 009A btst.b [A0 + 0x9A], 0x5
0000419A 6608 bne +0xA /* 000041A4 */
0000419C 2608 move.l D3, A0
0000419E 2028 0090 move.l D0, [A0 + 0x90]
000041A2 66E4 bne -0x1A /* 00004188 */
label000041A4:
000041A4 4A83 tst.l D3
000041A6 6766 beq +0x68 /* 0000420E */
000041A8 2F0B move.l -[A7], A3
000041AA 2F03 move.l -[A7], D3
000041AC A921 syscall SendBehind
000041AE 2F0B move.l -[A7], A3
000041B0 A873 syscall SetPort
000041B2 42A7 clr.l -[A7]
000041B4 4857 pea.l [A7]
000041B6 A870 syscall LocalToGlobal
000041B8 2017 move.l D0, [A7]
000041BA 2F2B 0018 move.l -[A7], [A3 + 0x18]
000041BE 2F2B 007A move.l -[A7], [A3 + 0x7A]
000041C2 2F17 move.l -[A7], [A7]
000041C4 4440 neg.w D0
000041C6 3F00 move.w -[A7], D0
000041C8 4840 swap.w D0
000041CA 4440 neg.w D0
000041CC 3F00 move.w -[A7], D0
000041CE A8E0 syscall OffsetRgn/OfsetRgn
000041D0 42A7 clr.l -[A7]
000041D2 A8D8 syscall NewRgn
000041D4 2817 move.l D4, [A7]
000041D6 A8E6 syscall DiffRgn
000041D8 201F move.l D0, [A7]+
000041DA 2F2B 007A move.l -[A7], [A3 + 0x7A]
000041DE 3F00 move.w -[A7], D0
000041E0 4840 swap.w D0
000041E2 3F00 move.w -[A7], D0
000041E4 A8E0 syscall OffsetRgn/OfsetRgn
000041E6 4278 09DC clr.w [0x000009DC /* PaintWhite */]
000041EA 2F0B move.l -[A7], A3
000041EC 2F2B 0072 move.l -[A7], [A3 + 0x72]
000041F0 A90D syscall PaintBehind
000041F2 31FC FFFF 09DC move.w [0x000009DC /* PaintWhite */], 0xFFFF
000041F8 2F0B move.l -[A7], A3
000041FA 2F2B 0072 move.l -[A7], [A3 + 0x72]
000041FE A90A syscall CalcVBehind
00004200 2F0B move.l -[A7], A3
00004202 A873 syscall SetPort
00004204 2F04 move.l -[A7], D4
00004206 A929 syscall ValidRgn
00004208 2F04 move.l -[A7], D4
0000420A A8D9 syscall DisposRgn/DisposeRgn
0000420C 600A bra +0xC /* 00004218 */
label0000420E:
0000420E 4A2B 006E tst.b [A3 + 0x6E]
00004212 6704 beq +0x6 /* 00004218 */
00004214 2F0B move.l -[A7], A3
00004216 A91F syscall SelectWindow
label00004218:
00004218 2B4B F62E move.l [A5 - 0x9D2], A3
0000421C 2F0B move.l -[A7], A3
0000421E A873 syscall SetPort
00004220 6000 FAD2 bra -0x52C /* 00003CF4 */
label00004224:
00004224 4E75 rts
export_55:
00004226 222D F748 move.l D1, [A5 - 0x8B8]
0000422A 67F8 beq -0x6 /* 00004224 */
0000422C 422D F64A clr.b [A5 - 0x9B6]
00004230 2441 movea.l A2, D1
00004232 0240 003F andi.w D0, 0x3F /* '?' */
00004236 67EC beq -0x12 /* 00004224 */
00004238 E948 lsl D0.w, 4
0000423A 45F2 0000 lea.l A2, [A2 + D0.w]
0000423E 2A12 move.l D5, [A2]
00004240 67E2 beq -0x1C /* 00004224 */
00004242 4292 clr.l [A2]
00004244 2F05 move.l -[A7], D5
00004246 2C2D FFFC move.l D6, [A5 - 0x4]
0000424A A914 syscall DisposeWindow
0000424C 202A 000C move.l D0, [A2 + 0xC]
00004250 670C beq +0xE /* 0000425E */
00004252 0C80 FFFF FFFF cmpi.l D0, 0xFFFFFFFF
00004258 6704 beq +0x6 /* 0000425E */
0000425A 2F00 move.l -[A7], D0
0000425C A8D9 syscall DisposRgn/DisposeRgn
label0000425E:
0000425E 42AA 000C clr.l [A2 + 0xC]
00004262 43EA 0004 lea.l A1, [A2 + 0x4]
00004266 2F11 move.l -[A7], [A1]
label00004268:
00004268 221F move.l D1, [A7]+
0000426A 6710 beq +0x12 /* 0000427C */
0000426C 2041 movea.l A0, D1
0000426E 2250 movea.l A1, [A0]
00004270 2F11 move.l -[A7], [A1]
00004272 2F29 0008 move.l -[A7], [A1 + 0x8]
00004276 A023 syscall DisposHandle/DisposeHandle
00004278 A9CD syscall TEDispose
0000427A 60EC bra -0x12 /* 00004268 */
label0000427C:
0000427C BA86 cmp.l D5, D6
0000427E 6620 bne +0x22 /* 000042A0 */
00004280 42A7 clr.l -[A7]
00004282 A924 syscall FrontWindow
00004284 201F move.l D0, [A7]+
label00004286:
00004286 670E beq +0x10 /* 00004296 */
00004288 2040 movea.l A0, D0
0000428A 6100 F8EE bsr -0x710 /* 00003B7A */
0000428E 660A bne +0xC /* 0000429A */
00004290 2028 0090 move.l D0, [A0 + 0x90]
00004294 66F0 bne -0xE /* 00004286 */
label00004296:
00004296 206D F774 movea.l A0, [A5 - 0x88C]
label0000429A:
0000429A 2448 movea.l A2, A0
0000429C 4EFA 005A jmp [PC + 0x5A /* 000042F8 */]
label000042A0:
000042A0 4E75 rts
000042A2 205F movea.l A0, [A7]+
000042A4 221F move.l D1, [A7]+
000042A6 301F move.w D0, [A7]+
000042A8 2F08 move.l -[A7], A0
000042AA 4AAD F748 tst.l [A5 - 0x8B8]
000042AE 6714 beq +0x16 /* 000042C4 */
000042B0 E948 lsl D0.w, 4
000042B2 206D F748 movea.l A0, [A5 - 0x8B8]
000042B6 4AB0 0000 tst.l [A0 + D0.w]
000042BA 6708 beq +0xA /* 000042C4 */
000042BC 2470 0000 movea.l A2, [A0 + D0.w]
000042C0 2541 0094 move.l [A2 + 0x94], D1
label000042C4:
000042C4 4E75 rts
000042C6 222D F748 move.l D1, [A5 - 0x8B8]
000042CA 6738 beq +0x3A /* 00004304 */
000042CC 48C0 ext.l D0
000042CE 6A02 bpl +0x4 /* 000042D2 */
000042D0 4440 neg.w D0
label000042D2:
000042D2 E948 lsl D0.w, 4
000042D4 2041 movea.l A0, D1
000042D6 2230 0000 move.l D1, [A0 + D0.w]
000042DA 6728 beq +0x2A /* 00004304 */
000042DC 2441 movea.l A2, D1
000042DE 4A80 tst.l D0
000042E0 6A12 bpl +0x14 /* 000042F4 */
000042E2 2F0A move.l -[A7], A2
000042E4 42A7 clr.l -[A7]
000042E6 A921 syscall SendBehind
000042E8 42A7 clr.l -[A7]
000042EA A924 syscall FrontWindow
000042EC 201F move.l D0, [A7]+
000042EE 6704 beq +0x6 /* 000042F4 */
000042F0 2F00 move.l -[A7], D0
000042F2 A91F syscall SelectWindow
label000042F4:
000042F4 2F0A move.l -[A7], A2
000042F6 A915 syscall ShowWindow
fn000042F8:
000042F8 2F0A move.l -[A7], A2
000042FA 2B4A F62E move.l [A5 - 0x9D2], A2
000042FE A873 syscall SetPort
00004300 6100 F9F2 bsr -0x60C /* 00003CF4 */
label00004304:
00004304 4E75 rts
00004306 4EBA 011A jsr [PC + 0x11A /* 00004422 */]
0000430A 671E beq +0x20 /* 0000432A */
0000430C 4A28 0026 tst.b [A0 + 0x26]
00004310 6B18 bmi +0x1A /* 0000432A */
00004312 4A28 0024 tst.b [A0 + 0x24]
00004316 6B06 bmi +0x8 /* 0000431E */
00004318 6104 bsr +0x6 /* 0000431E */
0000431A 5280 addq.l D0, 1
0000431C 4E75 rts
fn0000431E:
0000431E 4267 clr.w -[A7]
00004320 2F0B move.l -[A7], A3
00004322 A960 syscall GetControlValue/GetCtlValue
00004324 301F move.w D0, [A7]+
00004326 48C0 ext.l D0
00004328 4E75 rts
label0000432A:
0000432A 7000 moveq.l D0, 0x00
0000432C 4E75 rts
0000432E 422D F64C clr.b [A5 - 0x9B4]
00004332 4EBA 155E jsr [PC + 0x155E /* 00005892 */]
00004336 245F movea.l A2, [A7]+
00004338 381F move.w D4, [A7]+
0000433A 42AD F610 clr.l [A5 - 0x9F0]
0000433E 42AD F614 clr.l [A5 - 0x9EC]
00004342 4A5F tst.w [A7]+
00004344 670E beq +0x10 /* 00004354 */
00004346 08ED 0000 F64C bset.b [A5 - 0x9B4], 0x0
0000434C 2B5F F614 move.l [A5 - 0x9EC], [A7]+
00004350 4EBA 1720 jsr [PC + 0x1720 /* 00005A72 */]
label00004354:
00004354 4A5F tst.w [A7]+
00004356 670E beq +0x10 /* 00004366 */
00004358 2B5F F610 move.l [A5 - 0x9F0], [A7]+
0000435C 08ED 0001 F64C bset.b [A5 - 0x9B4], 0x1
00004362 4EBA 1724 jsr [PC + 0x1724 /* 00005A88 */]
label00004366:
00004366 302F 0008 move.w D0, [A7 + 0x8]
0000436A 6A02 bpl +0x4 /* 0000436E */
0000436C 4440 neg.w D0
label0000436E:
0000436E 4EBA 00B2 jsr [PC + 0xB2 /* 00004422 */]
00004372 6700 00CE beq +0xD0 /* 00004442 */
00004376 1028 0024 move.b D0, [A0 + 0x24]
0000437A EA08 lsr D0.b, 5
0000437C 5B00 subq.b D0, 5
0000437E 673E beq +0x40 /* 000043BE */
00004380 5300 subq.b D0, 1
00004382 673A beq +0x3C /* 000043BE */
00004384 082D 0001 F64C btst.b [A5 - 0x9B4], 0x1
0000438A 670C beq +0xE /* 00004398 */
0000438C 2F0B move.l -[A7], A3
0000438E 2F2D F610 move.l -[A7], [A5 - 0x9F0]
00004392 A959 syscall MoveControl
00004394 4EBA 14DC jsr [PC + 0x14DC /* 00005872 */]
label00004398:
00004398 082D 0000 F64C btst.b [A5 - 0x9B4], 0x0
0000439E 671E beq +0x20 /* 000043BE */
000043A0 2F0B move.l -[A7], A3
000043A2 2053 movea.l A0, [A3]
000043A4 302D F616 move.w D0, [A5 - 0x9EA]
000043A8 9068 000A sub.w D0, [A0 + 0xA]
000043AC 3F00 move.w -[A7], D0
000043AE 302D F614 move.w D0, [A5 - 0x9EC]
000043B2 9068 0008 sub.w D0, [A0 + 0x8]
000043B6 3F00 move.w -[A7], D0
000043B8 A95C syscall SizeControl
000043BA 4EBA 14B6 jsr [PC + 0x14B6 /* 00005872 */]
label000043BE:
000043BE 301F move.w D0, [A7]+
000043C0 6B0C bmi +0xE /* 000043CE */
000043C2 2053 movea.l A0, [A3]
000043C4 0268 8000 0026 andi.w [A0 + 0x26], 0x8000
000043CA 8168 0026 or.w [A0 + 0x26], D0
label000043CE:
000043CE 301F move.w D0, [A7]+
000043D0 0C40 8000 cmpi.w D0, 0x8000
000043D4 6706 beq +0x8 /* 000043DC */
000043D6 2F0B move.l -[A7], A3
000043D8 3F00 move.w -[A7], D0
000043DA A965 syscall SetControlMaximum/SetMaxCtl
label000043DC:
000043DC 301F move.w D0, [A7]+
000043DE 0C40 8000 cmpi.w D0, 0x8000
000043E2 6706 beq +0x8 /* 000043EA */
000043E4 2F0B move.l -[A7], A3
000043E6 3F00 move.w -[A7], D0
000043E8 A964 syscall SetControlMinimum/SetMinCtl
label000043EA:
000043EA 301F move.w D0, [A7]+
000043EC 0C40 8000 cmpi.w D0, 0x8000
000043F0 671A beq +0x1C /* 0000440C */
000043F2 3600 move.w D3, D0
000043F4 4267 clr.w -[A7]
000043F6 2F0B move.l -[A7], A3
000043F8 A960 syscall GetControlValue/GetCtlValue
000043FA B65F cmp.w D3, [A7]+
000043FC 670E beq +0x10 /* 0000440C */
000043FE 2F0B move.l -[A7], A3
00004400 3F03 move.w -[A7], D3
00004402 A963 syscall SetControlValue/SetCtlValue
00004404 2B4B F5F6 move.l [A5 - 0xA0A], A3
00004408 4EBA 1694 jsr [PC + 0x1694 /* 00005A9E */]
label0000440C:
0000440C 548F addq.l A7, 2
0000440E 6002 bra +0x4 /* 00004412 */
label00004410:
00004410 508F addq.l A7, 8
label00004412:
00004412 4EBA 12D0 jsr [PC + 0x12D0 /* 000056E4 */]
00004416 4ED2 jmp [A2]
00004418 6108 bsr +0xA /* 00004422 */
0000441A 6602 bne +0x4 /* 0000441E */
0000441C 97CB sub.l A3, A3
label0000441E:
0000441E 200B move.l D0, A3
00004420 4E75 rts
fn00004422:
00004422 206D F62E movea.l A0, [A5 - 0x9D2]
00004426 41E8 008C lea.l A0, [A0 + 0x8C]
label0000442A:
0000442A 4A90 tst.l [A0]
0000442C 6712 beq +0x14 /* 00004440 */
0000442E 2650 movea.l A3, [A0]
00004430 2053 movea.l A0, [A3]
00004432 3228 0024 move.w D1, [A0 + 0x24]
00004436 0241 1FFF andi.w D1, 0x1FFF
0000443A B041 cmp.w D0, D1
0000443C 66EC bne -0x12 /* 0000442A */
0000443E 4A93 tst.l [A3]
label00004440:
00004440 4E75 rts
label00004442:
00004442 0C44 0003 cmpi.w D4, 0x3
00004446 6502 bcs +0x4 /* 0000444A */
00004448 7800 moveq.l D4, 0x00
label0000444A:
0000444A 4A44 tst.w D4
0000444C 676E beq +0x70 /* 000044BC */
0000444E 206D F62E movea.l A0, [A5 - 0x9D2]
00004452 4A28 0098 tst.b [A0 + 0x98]
00004456 6710 beq +0x12 /* 00004468 */
00004458 0C28 0008 0098 cmpi.b [A0 + 0x98], 0x8
0000445E 6708 beq +0xA /* 00004468 */
00004460 0C28 0004 0098 cmpi.b [A0 + 0x98], 0x4
00004466 66A8 bne -0x56 /* 00004410 */
label00004468:
00004468 0C44 0001 cmpi.w D4, 0x1
0000446C 6728 beq +0x2A /* 00004496 */
0000446E 3B68 0014 F610 move.w [A5 - 0x9F0], [A0 + 0x14]
00004474 046D 000F F610 subi.w [A5 - 0x9F0], 0xF
0000447A 536D F612 subq.w [A5 - 0x9EE], 1
0000447E 3B68 0014 F614 move.w [A5 - 0x9EC], [A0 + 0x14]
00004484 526D F614 addq.w [A5 - 0x9EC], 1
00004488 3B68 0016 F616 move.w [A5 - 0x9EA], [A0 + 0x16]
0000448E 046D 000E F616 subi.w [A5 - 0x9EA], 0xE
00004494 6026 bra +0x28 /* 000044BC */
label00004496:
00004496 536D F610 subq.w [A5 - 0x9F0], 1
0000449A 3B68 0014 F614 move.w [A5 - 0x9EC], [A0 + 0x14]
000044A0 046D 000E F614 subi.w [A5 - 0x9EC], 0xE
000044A6 3B68 0016 F616 move.w [A5 - 0x9EA], [A0 + 0x16]
000044AC 526D F616 addq.w [A5 - 0x9EA], 1
000044B0 3B68 0016 F612 move.w [A5 - 0x9EE], [A0 + 0x16]
000044B6 046D 000F F612 subi.w [A5 - 0x9EE], 0xF
label000044BC:
000044BC 3004 move.w D0, D4
000044BE 3E1F move.w D7, [A7]+
000044C0 0C47 8000 cmpi.w D7, 0x8000
000044C4 6602 bne +0x4 /* 000044C8 */
000044C6 7E10 moveq.l D7, 0x10
label000044C8:
000044C8 3C1F move.w D6, [A7]+
000044CA 0C46 8000 cmpi.w D6, 0x8000
000044CE 6604 bne +0x6 /* 000044D4 */
000044D0 3C3C 00FF move.w D6, 0xFF
label000044D4:
000044D4 3A1F move.w D5, [A7]+
000044D6 0C45 8000 cmpi.w D5, 0x8000
000044DA 6602 bne +0x4 /* 000044DE */
000044DC 7A00 moveq.l D5, 0x00
label000044DE:
000044DE 381F move.w D4, [A7]+
000044E0 0C44 8000 cmpi.w D4, 0x8000
000044E4 6602 bne +0x4 /* 000044E8 */
000044E6 7800 moveq.l D4, 0x00
label000044E8:
000044E8 41FA 1660 lea.l A0, [PC + 0x1660 /* 00005B4A, value 0x0 */]
000044EC 3617 move.w D3, [A7]
000044EE 6A02 bpl +0x4 /* 000044F2 */
000044F0 4443 neg.w D3
label000044F2:
000044F2 598F subq.l A7, 4
000044F4 2F2D F62E move.l -[A7], [A5 - 0x9D2]
000044F8 486D F610 pea.l [A5 - 0x9F0]
000044FC 4850 pea.l [A0]
000044FE 1F3C FFFF move.b -[A7], 0xFF
00004502 3F04 move.w -[A7], D4
00004504 3F05 move.w -[A7], D5
00004506 3F06 move.w -[A7], D6
00004508 3F3C 0010 move.w -[A7], 0x10
0000450C 3F07 move.w -[A7], D7
0000450E 5840 addq.w D0, 4
00004510 EB48 lsl D0.w, 5
00004512 E148 lsl D0.w, 8
00004514 8043 or.w D0, D3
00004516 3F00 move.w -[A7], D0
00004518 A954 syscall NewControl
0000451A 205F movea.l A0, [A7]+
0000451C 301F move.w D0, [A7]+
0000451E 6A4C bpl +0x4E /* 0000456C */
00004520 48E7 FFF8 movem.l -[A7], D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4
00004524 2848 movea.l A4, A0
00004526 4440 neg.w D0
00004528 4EBA 0AD0 jsr [PC + 0xAD0 /* 00004FFA */]
0000452C 673A beq +0x3C /* 00004568 */
0000452E 2468 0008 movea.l A2, [A0 + 0x8]
00004532 2052 movea.l A0, [A2]
00004534 4A68 0050 tst.w [A0 + 0x50]
00004538 6A2E bpl +0x30 /* 00004568 */
0000453A 43FA 15F6 lea.l A1, [PC + 0x15F6 /* 00005B32, value 0x0 */]
0000453E 22A8 002A move.l [A1], [A0 + 0x2A]
00004542 43FA 15B4 lea.l A1, [PC + 0x15B4 /* 00005AF8, value 0x207A0038 ' z\08' */]
00004546 2149 002A move.l [A0 + 0x2A], A1
0000454A 2068 004A movea.l A0, [A0 + 0x4A]
0000454E 2050 movea.l A0, [A0]
00004550 214C 000C move.l [A0 + 0xC], A4
00004554 2F0C move.l -[A7], A4
00004556 41ED FDFC lea.l A0, [A5 - 0x204]
0000455A 2F08 move.l -[A7], A0
0000455C 30FC 06FF move.w [A0]+, 0x6FF
00004560 20CA move.l [A0]+, A2
00004562 A95F syscall SetControlTitle/SetCTitle
00004564 6100 DA78 bsr -0x2586 /* 00001FDE */
label00004568:
00004568 4CDF 1FFF movem.l D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4, [A7]+
label0000456C:
0000456C 2F0A move.l -[A7], A2
0000456E 2448 movea.l A2, A0
00004570 4EBA 1264 jsr [PC + 0x1264 /* 000057D6 */]
00004574 6000 F77E bra -0x880 /* 00003CF4 */
export_62:
00004578 4EBA 1318 jsr [PC + 0x1318 /* 00005892 */]
0000457C 265F movea.l A3, [A7]+
0000457E 381F move.w D4, [A7]+
00004580 6602 bne +0x4 /* 00004584 */
00004582 7801 moveq.l D4, 0x01
label00004584:
00004584 42AD F610 clr.l [A5 - 0x9F0]
00004588 42AD F614 clr.l [A5 - 0x9EC]
0000458C 4A5F tst.w [A7]+
0000458E 6708 beq +0xA /* 00004598 */
00004590 2B5F F614 move.l [A5 - 0x9EC], [A7]+
00004594 4EBA 14DC jsr [PC + 0x14DC /* 00005A72 */]
label00004598:
00004598 4A5F tst.w [A7]+
0000459A 6708 beq +0xA /* 000045A4 */
0000459C 2B5F F610 move.l [A5 - 0x9F0], [A7]+
000045A0 4EBA 14E6 jsr [PC + 0x14E6 /* 00005A88 */]
label000045A4:
000045A4 2A1F move.l D5, [A7]+
000045A6 3C1F move.w D6, [A7]+
000045A8 3E1F move.w D7, [A7]+
000045AA 2F0B move.l -[A7], A3
000045AC 3007 move.w D0, D7
000045AE 6100 FE72 bsr -0x18C /* 00004422 */
000045B2 6700 0096 beq +0x98 /* 0000464A */
000045B6 244B movea.l A2, A3
000045B8 4EBA 1224 jsr [PC + 0x1224 /* 000057DE */]
000045BC 4AAD F610 tst.l [A5 - 0x9F0]
000045C0 6708 beq +0xA /* 000045CA */
000045C2 2F0B move.l -[A7], A3
000045C4 2F2D F610 move.l -[A7], [A5 - 0x9F0]
000045C8 A959 syscall MoveControl
label000045CA:
000045CA 4AAD F614 tst.l [A5 - 0x9EC]
000045CE 6718 beq +0x1A /* 000045E8 */
000045D0 2F0B move.l -[A7], A3
000045D2 302D F616 move.w D0, [A5 - 0x9EA]
000045D6 906D F612 sub.w D0, [A5 - 0x9EE]
000045DA 3F00 move.w -[A7], D0
000045DC 302D F614 move.w D0, [A5 - 0x9EC]
000045E0 906D F610 sub.w D0, [A5 - 0x9F0]
000045E4 3F00 move.w -[A7], D0
000045E6 A95C syscall SizeControl
label000045E8:
000045E8 4A85 tst.l D5
000045EA 6706 beq +0x8 /* 000045F2 */
000045EC 2F0B move.l -[A7], A3
000045EE 2F05 move.l -[A7], D5
000045F0 A95F syscall SetControlTitle/SetCTitle
label000045F2:
000045F2 2053 movea.l A0, [A3]
000045F4 08A8 0007 0026 bclr.b [A0 + 0x26], 0x7
000045FA 4A46 tst.w D6
000045FC 6B48 bmi +0x4A /* 00004646 */
000045FE 661A bne +0x1C /* 0000461A */
00004600 08E8 0007 0026 bset.b [A0 + 0x26], 0x7
00004606 1028 0011 move.b D0, [A0 + 0x11]
0000460A 663A bne +0x3C /* 00004646 */
0000460C 2F0B move.l -[A7], A3
0000460E 3F3C 00FF move.w -[A7], 0xFF
00004612 A95D syscall HiliteControl
00004614 6100 E5A4 bsr -0x1A5A /* 00002BBA */
00004618 602C bra +0x2E /* 00004646 */
label0000461A:
0000461A 0C46 0002 cmpi.w D6, 0x2
0000461E 660C bne +0xE /* 0000462C */
00004620 720A moveq.l D1, 0x0A
00004622 1028 0024 move.b D0, [A0 + 0x24]
00004626 0200 00E0 andi.b D0, 0xE0
0000462A 6708 beq +0xA /* 00004634 */
label0000462C:
0000462C 1028 0011 move.b D0, [A0 + 0x11]
00004630 670C beq +0xE /* 0000463E */
00004632 7200 moveq.l D1, 0x00
label00004634:
00004634 2F0B move.l -[A7], A3
00004636 3F01 move.w -[A7], D1
00004638 A95D syscall HiliteControl
0000463A 6100 E57E bsr -0x1A80 /* 00002BBA */
label0000463E:
0000463E 2F0B move.l -[A7], A3
00004640 5346 subq.w D6, 1
00004642 3F06 move.w -[A7], D6
00004644 A963 syscall SetControlValue/SetCtlValue
label00004646:
00004646 4EFA 109C jmp [PC + 0x109C /* 000056E4 */]
label0000464A:
0000464A 598F subq.l A7, 4
0000464C 2F2D F62E move.l -[A7], [A5 - 0x9D2]
00004650 486D F610 pea.l [A5 - 0x9F0]
00004654 2F05 move.l -[A7], D5
00004656 6606 bne +0x8 /* 0000465E */
00004658 41FA 14F0 lea.l A0, [PC + 0x14F0 /* 00005B4A, value 0x0 */]
0000465C 2E88 move.l [A7], A0
label0000465E:
0000465E 3F3C FFFF move.w -[A7], 0xFFFF
00004662 3006 move.w D0, D6
00004664 6702 beq +0x4 /* 00004668 */
00004666 5340 subq.w D0, 1
label00004668:
00004668 3F00 move.w -[A7], D0
0000466A 4267 clr.w -[A7]
0000466C 3F3C 7FFF move.w -[A7], 0x7FFF
00004670 7000 moveq.l D0, 0x00
00004672 5944 subq.w D4, 4
00004674 6604 bne +0x6 /* 0000467A */
00004676 705A moveq.l D0, 0x5A
00004678 78FD moveq.l D4, 0xFFFFFFFD
label0000467A:
0000467A 5644 addq.w D4, 3
0000467C 3F04 move.w -[A7], D4
0000467E 0C44 0004 cmpi.w D4, 0x4
00004682 6502 bcs +0x4 /* 00004686 */
00004684 7803 moveq.l D4, 0x03
label00004686:
00004686 0247 1FFF andi.w D7, 0x1FFF
0000468A EB4C lsl D4.w, 5
0000468C E14C lsl D4.w, 8
0000468E 8847 or.w D4, D7
00004690 3F00 move.w -[A7], D0
00004692 3F04 move.w -[A7], D4
00004694 A954 syscall NewControl
00004696 265F movea.l A3, [A7]+
00004698 4A46 tst.w D6
0000469A 6610 bne +0x12 /* 000046AC */
0000469C 2053 movea.l A0, [A3]
0000469E 08E8 0007 0026 bset.b [A0 + 0x26], 0x7
000046A4 2F0B move.l -[A7], A3
000046A6 3F3C 00FF move.w -[A7], 0xFF
000046AA A95D syscall HiliteControl
label000046AC:
000046AC 206D F62E movea.l A0, [A5 - 0x9D2]
000046B0 6100 E50C bsr -0x1AF2 /* 00002BBE */
000046B4 244B movea.l A2, A3
000046B6 4EBA 111E jsr [PC + 0x111E /* 000057D6 */]
000046BA 4EFA 1028 jmp [PC + 0x1028 /* 000056E4 */]
000046BE 6100 FD62 bsr -0x29C /* 00004422 */
000046C2 6718 beq +0x1A /* 000046DC */
000046C4 244B movea.l A2, A3
000046C6 4EBA 1116 jsr [PC + 0x1116 /* 000057DE */]
000046CA 4EBA 111E jsr [PC + 0x111E /* 000057EA */]
000046CE 6704 beq +0x6 /* 000046D4 */
000046D0 4850 pea.l [A0]
000046D2 A928 syscall InvalRect
label000046D4:
000046D4 2F0A move.l -[A7], A2
000046D6 A955 syscall DisposeControl
000046D8 4EFA 100A jmp [PC + 0x100A /* 000056E4 */]
label000046DC:
000046DC 4E75 rts
000046DE 265F movea.l A3, [A7]+
000046E0 281F move.l D4, [A7]+
000046E2 2B6D F678 F610 move.l [A5 - 0x9F0], [A5 - 0x988]
000046E8 2B6D F67C F614 move.l [A5 - 0x9EC], [A5 - 0x984]
000046EE 4A5F tst.w [A7]+
000046F0 6708 beq +0xA /* 000046FA */
000046F2 2B5F F614 move.l [A5 - 0x9EC], [A7]+
000046F6 4EBA 137A jsr [PC + 0x137A /* 00005A72 */]
label000046FA:
000046FA 4A5F tst.w [A7]+
000046FC 6708 beq +0xA /* 00004706 */
000046FE 2B5F F610 move.l [A5 - 0x9F0], [A7]+
00004702 4EBA 1384 jsr [PC + 0x1384 /* 00005A88 */]
label00004706:
00004706 42A7 clr.l -[A7]
00004708 A8D8 syscall NewRgn
0000470A 2617 move.l D3, [A7]
0000470C 486D F610 pea.l [A5 - 0x9F0]
00004710 2F04 move.l -[A7], D4
00004712 2F03 move.l -[A7], D3
00004714 A8EF syscall ScrollRect
00004716 A8D9 syscall DisposRgn/DisposeRgn
00004718 486D F610 pea.l [A5 - 0x9F0]
0000471C A92A syscall ValidRect
0000471E 4ED3 jmp [A3]
00004720 203C 0000 FFFF move.l D0, 0xFFFF
00004726 A032 syscall FlushEvents
00004728 202D F5AE move.l D0, [A5 - 0xA52]
0000472C 2B40 F5AA move.l [A5 - 0xA56], D0
00004730 2B40 F5A6 move.l [A5 - 0xA5A], D0
00004734 4E75 rts
fn00004736:
00004736 4A2D F539 tst.b [A5 - 0xAC7]
0000473A 660A bne +0xC /* 00004746 */
0000473C 206D F5AA movea.l A0, [A5 - 0xA56]
label00004740:
00004740 B1ED F5A6 cmpa.l A0, [A5 - 0xA5A]
00004744 6602 bne +0x4 /* 00004748 */
label00004746:
00004746 4E75 rts
label00004748:
00004748 7000 moveq.l D0, 0x00
0000474A 1028 0003 move.b D0, [A0 + 0x3]
0000474E 3200 move.w D1, D0
00004750 5341 subq.w D1, 1
00004752 3401 move.w D2, D1
00004754 032D F5F1 btst [A5 - 0xA0F], D1
00004758 6708 beq +0xA /* 00004762 */
0000475A E54A lsl D2.w, 2
0000475C 032D F5F0 btst [A5 - 0xA10], D1
00004760 6710 beq +0x12 /* 00004772 */
label00004762:
00004762 5088 addq.l A0, 8
00004764 5088 addq.l A0, 8
00004766 B1ED F5B2 cmpa.l A0, [A5 - 0xA4E]
0000476A 66D4 bne -0x2A /* 00004740 */
0000476C 206D F5AE movea.l A0, [A5 - 0xA52]
00004770 60CE bra -0x30 /* 00004740 */
label00004772:
00004772 03ED F5F0 bset [A5 - 0xA10], D1
00004776 3F01 move.w -[A7], D1
00004778 6704 beq +0x6 /* 0000477E */
0000477A 5941 subq.w D1, 4
0000477C 6604 bne +0x6 /* 00004782 */
label0000477E:
0000477E 4EBA 02C8 jsr [PC + 0x2C8 /* 00004A48 */]
label00004782:
00004782 43ED F5B6 lea.l A1, [A5 - 0xA4A]
00004786 2431 2000 move.l D2, [A1 + D2.w]
0000478A 6714 beq +0x16 /* 000047A0 */
0000478C 2042 movea.l A0, D2
0000478E 50ED F539 st [A5 - 0xAC7]
00004792 4E90 jsr [A0]
00004794 51ED F539 sf [A5 - 0xAC7]
label00004798:
00004798 301F move.w D0, [A7]+
0000479A 01AD F5F0 bclr [A5 - 0xA10], D0
0000479E 4E75 rts
label000047A0:
000047A0 4EBA 02A6 jsr [PC + 0x2A6 /* 00004A48 */]
000047A4 60F2 bra -0xC /* 00004798 */
fn000047A6:
000047A6 3400 move.w D2, D0
000047A8 5342 subq.w D2, 1
000047AA 052D F5F1 btst [A5 - 0xA0F], D2
000047AE 6704 beq +0x6 /* 000047B4 */
000047B0 610E bsr +0x10 /* 000047C0 */
000047B2 6182 bsr -0x7C /* 00004736 */
label000047B4:
000047B4 4E75 rts
000047B6 223C 0017 0000 move.l D1, 0x170000
000047BC 8240 or.w D1, D0
000047BE 7002 moveq.l D0, 0x02
fn000047C0:
000047C0 206D F5A6 movea.l A0, [A5 - 0xA5A]
000047C4 B1ED F5B2 cmpa.l A0, [A5 - 0xA4E]
000047C8 6504 bcs +0x6 /* 000047CE */
000047CA 206D F5AE movea.l A0, [A5 - 0xA52]
label000047CE:
000047CE 20C0 move.l [A0]+, D0
000047D0 20C1 move.l [A0]+, D1
000047D2 30ED F728 move.w [A0]+, [A5 - 0x8D8]
000047D6 20ED F720 move.l [A0]+, [A5 - 0x8E0]
000047DA 5488 addq.l A0, 2
000047DC 2B48 F5A6 move.l [A5 - 0xA5A], A0
000047E0 B1ED F5AA cmpa.l A0, [A5 - 0xA56]
000047E4 6612 bne +0x14 /* 000047F8 */
000047E6 D0FC 0020 add.w A0, 0x20 /* ' ' */
000047EA B1ED F5B2 cmpa.l A0, [A5 - 0xA4E]
000047EE 6504 bcs +0x6 /* 000047F4 */
000047F0 206D F5AE movea.l A0, [A5 - 0xA52]
label000047F4:
000047F4 2B48 F5AA move.l [A5 - 0xA56], A0
label000047F8:
000047F8 4E75 rts
000047FA 4A80 tst.l D0
000047FC 6708 beq +0xA /* 00004806 */
000047FE 7000 moveq.l D0, 0x00
00004800 302D F5FC move.w D0, [A5 - 0xA04]
00004804 4E75 rts
label00004806:
00004806 7003 moveq.l D0, 0x03
00004808 4EBA 023E jsr [PC + 0x23E /* 00004A48 */]
0000480C 660A bne +0xC /* 00004818 */
0000480E 2B40 F5FA move.l [A5 - 0xA06], D0
00004812 4240 clr.w D0
00004814 4840 swap.w D0
00004816 4E75 rts
label00004818:
00004818 7000 moveq.l D0, 0x00
0000481A 4E75 rts
0000481C 2038 020C move.l D0, [0x0000020C /* Time */]
00004820 41ED FD34 lea.l A0, [A5 - 0x2CC]
00004824 A9C6 syscall SecondsToDate/Secs2Date
00004826 42AD FD3A clr.l [A5 - 0x2C6]
0000482A 426D FD3E clr.w [A5 - 0x2C2]
0000482E 41ED FD34 lea.l A0, [A5 - 0x2CC]
00004832 A9C7 syscall DateToSeconds/Date2Secs
00004834 2200 move.l D1, D0
00004836 2038 020C move.l D0, [0x0000020C /* Time */]
0000483A 9081 sub.l D0, D1
0000483C 4E75 rts
export_29:
0000483E 4A80 tst.l D0
00004840 661C bne +0x1E /* 0000485E */
00004842 7002 moveq.l D0, 0x02
00004844 4EBA 0202 jsr [PC + 0x202 /* 00004A48 */]
00004848 661A bne +0x1C /* 00004864 */
0000484A 2200 move.l D1, D0
0000484C 4841 swap.w D1
0000484E D241 add.w D1, D1
00004850 41ED F4FC lea.l A0, [A5 - 0xB04]
00004854 3180 1000 move.w [A0 + D1.w], D0
00004858 4240 clr.w D0
0000485A 4840 swap.w D0
0000485C 4E75 rts
label0000485E:
0000485E 6A08 bpl +0xA /* 00004868 */
00004860 422D F539 clr.b [A5 - 0xAC7]
label00004864:
00004864 7000 moveq.l D0, 0x00
00004866 4E75 rts
label00004868:
00004868 0C40 0018 cmpi.w D0, 0x18
0000486C 64F6 bcc -0x8 /* 00004864 */
0000486E D040 add.w D0, D0
00004870 41ED F4FC lea.l A0, [A5 - 0xB04]
00004874 3030 0000 move.w D0, [A0 + D0.w]
00004878 48C0 ext.l D0
0000487A 4E75 rts
0000487C 4A40 tst.w D0
0000487E 6A14 bpl +0x16 /* 00004894 */
00004880 4440 neg.w D0
00004882 E948 lsl D0.w, 4
00004884 206D F748 movea.l A0, [A5 - 0x8B8]
00004888 4AB0 0000 tst.l [A0 + D0.w]
0000488C 56C0 sne D0
0000488E 4880 ext.w D0
00004890 48C0 ext.l D0
00004892 4E75 rts
label00004894:
00004894 0C40 001A cmpi.w D0, 0x1A
00004898 6214 bhi +0x16 /* 000048AE */
0000489A D040 add.w D0, D0
0000489C 41FA 0014 lea.l A0, [PC + 0x14 /* 000048B2, value 0xC400DC */]
000048A0 3230 0000 move.w D1, [A0 + D0.w]
000048A4 206D F62E movea.l A0, [A5 - 0x9D2]
000048A8 7000 moveq.l D0, 0x00
000048AA 4EFB 1006 jmp [PC + D1.w + 0x6]
label000048AE:
000048AE 7000 moveq.l D0, 0x00
000048B0 4E75 rts
000048B2 00C4 ori.? D4, 0xFFFFFFFFFFFFFFFF
000048B4 00DC ori.? [A4]+, 0xFFFFFFFFFFFFFFFF
000048B6 00E6 ori.? -[A6], 0xFFFFFFFFFFFFFFFF
000048B8 00EE 00F6 ori.? [A6 + 0xF6], 0xFFFFFFFFFFFFFFFF
000048BC 00FC ori.? 0xFFFFFFFFFFFFFFFF, 0xFFFFFFFFFFFFFFFF
000048BE 008C 0094 009C ori.l A4, 0x94009C
000048C4 00BC 0064 006E 0078 0082 ori.l 0x780082, 0x64006E /* 'd\0n' */
000048CE 0050 011E ori.w [A0], 0x11E
000048D2 012A 0136 btst [A2 + 0x136], D0
000048D6 0102 btst D2, D0
000048D8 0172 017A 0048 0142 014E bchg [[A2 + 0x480142] + 0x14E], D0
000048E2 015A bchg [A2]+, D0
000048E4 0036 003C 4EBA ori.b [A6 + D4 * 8 - 0x70], 0x3C /* '<' */
000048EA 00A4 6004 4EBA ori.l -[A4], 0x60044EBA
000048F0 0086 6704 1028 ori.l D6, 0x67041028
000048F6 009B 4E75 7000 ori.l [A3]+, 0x4E757000 /* 'Nup\0' */
000048FC 302D F658 move.w D0, [A5 - 0x9A8]
00004900 4E75 rts
00004902 2008 move.l D0, A0
00004904 4E75 rts
fn00004906:
00004906 4A68 0006 tst.w [A0 + 0x6]
0000490A 6A08 bpl +0xA /* 00004914 */
0000490C 2068 0002 movea.l A0, [A0 + 0x2]
00004910 2050 movea.l A0, [A0]
00004912 5588 subq.l A0, 2
label00004914:
00004914 4E75 rts
00004916 61EE bsr -0x10 /* 00004906 */
00004918 3028 000A move.w D0, [A0 + 0xA]
0000491C 48C0 ext.l D0
0000491E 4E75 rts
00004920 61E4 bsr -0x1A /* 00004906 */
00004922 3028 0008 move.w D0, [A0 + 0x8]
00004926 48C0 ext.l D0
00004928 4E75 rts
0000492A 61DA bsr -0x24 /* 00004906 */
0000492C 3028 000E move.w D0, [A0 + 0xE]
00004930 48C0 ext.l D0
00004932 4E75 rts
00004934 61D0 bsr -0x2E /* 00004906 */
00004936 3028 000C move.w D0, [A0 + 0xC]
0000493A 48C0 ext.l D0
0000493C 4E75 rts
0000493E 302D F56C move.w D0, [A5 - 0xA94]
00004942 5240 addq.w D0, 1
00004944 4E75 rts
00004946 302D F56A move.w D0, [A5 - 0xA96]
0000494A 5240 addq.w D0, 1
0000494C 4E75 rts
0000494E 6106 bsr +0x8 /* 00004956 */
00004950 302D FC80 move.w D0, [A5 - 0x380]
00004954 4E75 rts
fn00004956:
00004956 2B68 0030 FC7E move.l [A5 - 0x382], [A0 + 0x30]
0000495C 486D FC7E pea.l [A5 - 0x382]
00004960 486D F678 pea.l [A5 - 0x988]
00004964 486D F566 pea.l [A5 - 0xA9A]
00004968 A8F9 syscall MapPt
0000496A 7000 moveq.l D0, 0x00
0000496C 4E75 rts
0000496E 61E6 bsr -0x18 /* 00004956 */
00004970 302D FC7E move.w D0, [A5 - 0x382]
00004974 4E75 rts
fn00004976:
00004976 42A7 clr.l -[A7]
00004978 A924 syscall FrontWindow
0000497A 201F move.l D0, [A7]+
0000497C 6602 bne +0x4 /* 00004980 */
0000497E 4E75 rts
label00004980:
00004980 2040 movea.l A0, D0
label00004982:
00004982 6100 F1F6 bsr -0xE08 /* 00003B7A */
00004986 2001 move.l D0, D1
00004988 6602 bne +0x4 /* 0000498C */
0000498A 7000 moveq.l D0, 0x00
label0000498C:
0000498C 4E75 rts
fn0000498E:
0000498E 598F subq.l A7, 4
00004990 4857 pea.l [A7]
00004992 A874 syscall GetPort
00004994 205F movea.l A0, [A7]+
00004996 60EA bra -0x14 /* 00004982 */
00004998 302D F67E move.w D0, [A5 - 0x982]
0000499C 5240 addq.w D0, 1
0000499E 4E75 rts
000049A0 302D F67C move.w D0, [A5 - 0x984]
000049A4 5240 addq.w D0, 1
000049A6 4E75 rts
000049A8 3028 0032 move.w D0, [A0 + 0x32]
000049AC 4E75 rts
000049AE 3028 0030 move.w D0, [A0 + 0x30]
000049B2 4E75 rts
fn000049B4:
000049B4 61D8 bsr -0x26 /* 0000498E */
000049B6 6716 beq +0x18 /* 000049CE */
000049B8 7000 moveq.l D0, 0x00
000049BA E949 lsl D1.w, 4
000049BC 2231 1008 move.l D1, [A1 + D1.w + 0x8]
000049C0 670C beq +0xE /* 000049CE */
000049C2 2441 movea.l A2, D1
000049C4 2452 movea.l A2, [A2]
000049C6 206A 0008 movea.l A0, [A2 + 0x8]
000049CA 2008 move.l D0, A0
000049CC 2050 movea.l A0, [A0]
label000049CE:
000049CE 4E75 rts
000049D0 61E2 bsr -0x1C /* 000049B4 */
000049D2 67FA beq -0x4 /* 000049CE */
000049D4 7000 moveq.l D0, 0x00
000049D6 302A 0004 move.w D0, [A2 + 0x4]
000049DA 4E75 rts
000049DC 61D6 bsr -0x28 /* 000049B4 */
000049DE 67EE beq -0x10 /* 000049CE */
000049E0 7000 moveq.l D0, 0x00
000049E2 3028 0020 move.w D0, [A0 + 0x20]
000049E6 4E75 rts
000049E8 61CA bsr -0x34 /* 000049B4 */
000049EA 67E2 beq -0x1C /* 000049CE */
000049EC 7000 moveq.l D0, 0x00
000049EE 3028 0022 move.w D0, [A0 + 0x22]
000049F2 4E75 rts
000049F4 61BE bsr -0x40 /* 000049B4 */
000049F6 67D6 beq -0x28 /* 000049CE */
000049F8 7000 moveq.l D0, 0x00
000049FA 3028 003C move.w D0, [A0 + 0x3C]
000049FE 4E75 rts
00004A00 61B2 bsr -0x4C /* 000049B4 */
00004A02 67CA beq -0x34 /* 000049CE */
00004A04 204A movea.l A0, A2
00004A06 A128 syscall RecoverHandle, flags=1
00004A08 2008 move.l D0, A0
00004A0A 4E75 rts
00004A0C 61A6 bsr -0x58 /* 000049B4 */
00004A0E 67BE beq -0x40 /* 000049CE */
00004A10 7000 moveq.l D0, 0x00
00004A12 102A 0007 move.b D0, [A2 + 0x7]
00004A16 3228 0008 move.w D1, [A0 + 0x8]
00004A1A 9268 000C sub.w D1, [A0 + 0xC]
00004A1E 6602 bne +0x4 /* 00004A22 */
00004A20 4480 neg.l D0
label00004A22:
00004A22 4E75 rts
00004A24 203C 5445 5854 move.l D0, 0x54455854 /* 'TEXT' */
00004A2A 6006 bra +0x8 /* 00004A32 */
00004A2C 203C 5049 4354 move.l D0, 0x50494354 /* 'PICT' */
label00004A32:
00004A32 42A7 clr.l -[A7]
00004A34 42A7 clr.l -[A7]
00004A36 2F00 move.l -[A7], D0
00004A38 486D F610 pea.l [A5 - 0x9F0]
00004A3C A9FD syscall GetScrap
00004A3E 7000 moveq.l D0, 0x00
00004A40 4A9F tst.l [A7]+
00004A42 6B02 bmi +0x4 /* 00004A46 */
00004A44 70FF moveq.l D0, 0xFFFFFFFF
label00004A46:
00004A46 4E75 rts
fn00004A48:
00004A48 206D F5AA movea.l A0, [A5 - 0xA56]
label00004A4C:
00004A4C B1ED F5A6 cmpa.l A0, [A5 - 0xA5A]
00004A50 6716 beq +0x18 /* 00004A68 */
00004A52 B028 0003 cmp.b D0, [A0 + 0x3]
00004A56 6714 beq +0x16 /* 00004A6C */
00004A58 5088 addq.l A0, 8
00004A5A 5088 addq.l A0, 8
00004A5C B1ED F5B2 cmpa.l A0, [A5 - 0xA4E]
00004A60 66EA bne -0x14 /* 00004A4C */
00004A62 206D F5AE movea.l A0, [A5 - 0xA52]
00004A66 60E4 bra -0x1A /* 00004A4C */
label00004A68:
00004A68 8040 or.w D0, D0
00004A6A 4E75 rts
label00004A6C:
00004A6C 2248 movea.l A1, A0
00004A6E 2F19 move.l -[A7], [A1]+
00004A70 2F19 move.l -[A7], [A1]+
00004A72 3B59 F72A move.w [A5 - 0x8D6], [A1]+
00004A76 2B59 F72C move.l [A5 - 0x8D4], [A1]+
00004A7A 5489 addq.l A1, 2
label00004A7C:
00004A7C B1ED F5B2 cmpa.l A0, [A5 - 0xA4E]
00004A80 6504 bcs +0x6 /* 00004A86 */
00004A82 206D F5AE movea.l A0, [A5 - 0xA52]
label00004A86:
00004A86 B3ED F5B2 cmpa.l A1, [A5 - 0xA4E]
00004A8A 6504 bcs +0x6 /* 00004A90 */
00004A8C 226D F5AE movea.l A1, [A5 - 0xA52]
label00004A90:
00004A90 B3ED F5A6 cmpa.l A1, [A5 - 0xA5A]
00004A94 670A beq +0xC /* 00004AA0 */
00004A96 20D9 move.l [A0]+, [A1]+
00004A98 20D9 move.l [A0]+, [A1]+
00004A9A 20D9 move.l [A0]+, [A1]+
00004A9C 20D9 move.l [A0]+, [A1]+
00004A9E 60DC bra -0x22 /* 00004A7C */
label00004AA0:
00004AA0 2B48 F5A6 move.l [A5 - 0xA5A], A0
00004AA4 201F move.l D0, [A7]+
00004AA6 221F move.l D1, [A7]+
00004AA8 003C 0004 ori.b ccr, 4
00004AAC 4E75 rts
fn00004AAE:
00004AAE 3F2D F66C move.w -[A7], [A5 - 0x994]
00004AB2 A889 syscall TextMode
00004AB4 102D F66E move.b D0, [A5 - 0x992]
00004AB8 3F00 move.w -[A7], D0
00004ABA 1E80 move.b [A7], D0
00004ABC A888 syscall TextFace
00004ABE 3F2D F668 move.w -[A7], [A5 - 0x998]
00004AC2 A88A syscall TextSize
00004AC4 3F2D F66A move.w -[A7], [A5 - 0x996]
00004AC8 A887 syscall TextFont
00004ACA 4E75 rts
label00004ACC:
00004ACC 6100 E798 bsr -0x1866 /* 00003266 */
00004AD0 6718 beq +0x1A /* 00004AEA */
00004AD2 2451 movea.l A2, [A1]
00004AD4 2452 movea.l A2, [A2]
00004AD6 3B6A 0004 F658 move.w [A5 - 0x9A8], [A2 + 0x4]
00004ADC 4291 clr.l [A1]
00004ADE 2F08 move.l -[A7], A0
00004AE0 4EBA 0DB0 jsr [PC + 0xDB0 /* 00005892 */]
00004AE4 A9D9 syscall TEDeactivate
00004AE6 4EBA 0BFC jsr [PC + 0xBFC /* 000056E4 */]
label00004AEA:
00004AEA 4E75 rts
00004AEC 50ED F53A st [A5 - 0xAC6]
00004AF0 6004 bra +0x6 /* 00004AF6 */
export_61:
00004AF2 51ED F53A sf [A5 - 0xAC6]
label00004AF6:
00004AF6 51ED F64C sf [A5 - 0x9B4]
00004AFA 245F movea.l A2, [A7]+
00004AFC 3E1F move.w D7, [A7]+
00004AFE 3C1F move.w D6, [A7]+
00004B00 4A5F tst.w [A7]+
00004B02 670E beq +0x10 /* 00004B12 */
00004B04 08ED 0000 F64C bset.b [A5 - 0x9B4], 0x0
00004B0A 2B5F F614 move.l [A5 - 0x9EC], [A7]+
00004B0E 4EBA 0F62 jsr [PC + 0xF62 /* 00005A72 */]
label00004B12:
00004B12 4A5F tst.w [A7]+
00004B14 670E beq +0x10 /* 00004B24 */
00004B16 08ED 0001 F64C bset.b [A5 - 0x9B4], 0x1
00004B1C 2B5F F610 move.l [A5 - 0x9F0], [A7]+
00004B20 4EBA 0F66 jsr [PC + 0xF66 /* 00005A88 */]
label00004B24:
00004B24 301F move.w D0, [A7]+
00004B26 6604 bne +0x6 /* 00004B2C */
00004B28 487A 1020 pea.l [PC + 0x1020 /* 00005B4A, value 0x0 */]
label00004B2C:
00004B2C 812D F64C or.b [A5 - 0x9B4], D0
00004B30 2A1F move.l D5, [A7]+
00004B32 381F move.w D4, [A7]+
00004B34 5BED F73B smi [A5 - 0x8C5]
00004B38 6A02 bpl +0x4 /* 00004B3C */
00004B3A 4444 neg.w D4
label00004B3C:
00004B3C 2F0A move.l -[A7], A2
00004B3E 4A44 tst.w D4
00004B40 678A beq -0x74 /* 00004ACC */
00004B42 6100 E214 bsr -0x1DEA /* 00002D58 */
00004B46 42AD FEFC clr.l [A5 - 0x104]
00004B4A 6114 bsr +0x16 /* 00004B60 */
00004B4C 202D FEFC move.l D0, [A5 - 0x104]
00004B50 6706 beq +0x8 /* 00004B58 */
00004B52 2440 movea.l A2, D0
00004B54 4EBA 0862 jsr [PC + 0x862 /* 000053B8 */]
label00004B58:
00004B58 487A EF8A pea.l [PC - 0x1076 /* 00003AE4, value 0x140002 */]
00004B5C A899 syscall SetPenState
00004B5E 4E75 rts
fn00004B60:
00004B60 4EBA 0B76 jsr [PC + 0xB76 /* 000056D8 */]
00004B64 6100 FE28 bsr -0x1D6 /* 0000498E */
00004B68 660A bne +0xC /* 00004B74 */
00004B6A 45ED FEFC lea.l A2, [A5 - 0x104]
00004B6E 7200 moveq.l D1, 0x00
00004B70 4EFA 003E jmp [PC + 0x3E /* 00004BB0 */]
label00004B74:
00004B74 E949 lsl D1.w, 4
00004B76 206D F748 movea.l A0, [A5 - 0x8B8]
00004B7A 47F0 1000 lea.l A3, [A0 + D1.w]
00004B7E 45EB 0004 lea.l A2, [A3 + 0x4]
00004B82 7200 moveq.l D1, 0x00
label00004B84:
00004B84 2012 move.l D0, [A2]
00004B86 6728 beq +0x2A /* 00004BB0 */
00004B88 2440 movea.l A2, D0
00004B8A 2200 move.l D1, D0
00004B8C 2452 movea.l A2, [A2]
00004B8E B86A 0004 cmp.w D4, [A2 + 0x4]
00004B92 66F0 bne -0xE /* 00004B84 */
00004B94 2F2D F610 move.l -[A7], [A5 - 0x9F0]
00004B98 2F2D F614 move.l -[A7], [A5 - 0x9EC]
00004B9C 2441 movea.l A2, D1
00004B9E 4EBA 0CAC jsr [PC + 0xCAC /* 0000584C */]
00004BA2 220A move.l D1, A2
00004BA4 2B5F F614 move.l [A5 - 0x9EC], [A7]+
00004BA8 2B5F F610 move.l [A5 - 0x9F0], [A7]+
00004BAC 4EFA 0068 jmp [PC + 0x68 /* 00004C16 */]
label00004BB0:
00004BB0 082D 0000 F64C btst.b [A5 - 0x9B4], 0x0
00004BB6 6708 beq +0xA /* 00004BC0 */
00004BB8 082D 0001 F64C btst.b [A5 - 0x9B4], 0x1
00004BBE 6602 bne +0x4 /* 00004BC2 */
label00004BC0:
00004BC0 4E75 rts
label00004BC2:
00004BC2 2F01 move.l -[A7], D1
00004BC4 7014 moveq.l D0, 0x14
00004BC6 A322 syscall NewHandleClear, flags=3
00004BC8 221F move.l D1, [A7]+
00004BCA 6704 beq +0x6 /* 00004BD0 */
00004BCC 2441 movea.l A2, D1
00004BCE 2452 movea.l A2, [A2]
label00004BD0:
00004BD0 2488 move.l [A2], A0
00004BD2 2448 movea.l A2, A0
00004BD4 42A7 clr.l -[A7]
00004BD6 486D F610 pea.l [A5 - 0x9F0]
00004BDA 486D F610 pea.l [A5 - 0x9F0]
00004BDE 6100 FECE bsr -0x130 /* 00004AAE */
00004BE2 4A2D F73B tst.b [A5 - 0x8C5]
00004BE6 6712 beq +0x14 /* 00004BFA */
00004BE8 A83E syscall TEStyleNew
00004BEA 2057 movea.l A0, [A7]
00004BEC 2050 movea.l A0, [A0]
00004BEE 2068 004A movea.l A0, [A0 + 0x4A]
00004BF2 2050 movea.l A0, [A0]
00004BF4 42A8 000C clr.l [A0 + 0xC]
00004BF8 6002 bra +0x4 /* 00004BFC */
label00004BFA:
00004BFA A9D2 syscall TENew
label00004BFC:
00004BFC 08ED 0003 F64C bset.b [A5 - 0x9B4], 0x3
00004C02 2252 movea.l A1, [A2]
00004C04 4299 clr.l [A1]+
00004C06 32C4 move.w [A1]+, D4
00004C08 12C6 move.b [A1]+, D6
00004C0A 6604 bne +0x6 /* 00004C10 */
00004C0C 5229 FFFF addq.b [A1 - 0x1], 1
label00004C10:
00004C10 12C7 move.b [A1]+, D7
00004C12 229F move.l [A1], [A7]+
00004C14 220A move.l D1, A2
label00004C16:
00004C16 262B 0008 move.l D3, [A3 + 0x8]
00004C1A 2741 0008 move.l [A3 + 0x8], D1
00004C1E 2441 movea.l A2, D1
00004C20 2052 movea.l A0, [A2]
00004C22 4A06 tst.b D6
00004C24 6604 bne +0x6 /* 00004C2A */
00004C26 1C28 0006 move.b D6, [A0 + 0x6]
label00004C2A:
00004C2A 2452 movea.l A2, [A2]
00004C2C 206A 0008 movea.l A0, [A2 + 0x8]
00004C30 2050 movea.l A0, [A0]
00004C32 43ED F614 lea.l A1, [A5 - 0x9EC]
00004C36 45E8 0008 lea.l A2, [A0 + 0x8]
00004C3A 4A2D F53A tst.b [A5 - 0xAC6]
00004C3E 6704 beq +0x6 /* 00004C44 */
00004C40 45E8 0000 lea.l A2, [A0 + 0x0]
label00004C44:
00004C44 2B52 F626 move.l [A5 - 0x9DA], [A2]
00004C48 2B6A 0004 F62A move.l [A5 - 0x9D6], [A2 + 0x4]
00004C4E 3028 0008 move.w D0, [A0 + 0x8]
00004C52 9068 0000 sub.w D0, [A0 + 0x0]
00004C56 082D 0000 F64C btst.b [A5 - 0x9B4], 0x0
00004C5C 6708 beq +0xA /* 00004C66 */
00004C5E 2151 000C move.l [A0 + 0xC], [A1]
00004C62 2151 0004 move.l [A0 + 0x4], [A1]
label00004C66:
00004C66 22AA 0004 move.l [A1], [A2 + 0x4]
00004C6A 5989 subq.l A1, 4
00004C6C 082D 0001 F64C btst.b [A5 - 0x9B4], 0x1
00004C72 6708 beq +0xA /* 00004C7C */
00004C74 2151 0008 move.l [A0 + 0x8], [A1]
00004C78 2151 0000 move.l [A0 + 0x0], [A1]
label00004C7C:
00004C7C 22AA 0000 move.l [A1], [A2 + 0x0]
00004C80 9168 0000 sub.w [A0 + 0x0], D0
00004C84 4A2D F53A tst.b [A5 - 0xAC6]
00004C88 6706 beq +0x8 /* 00004C90 */
00004C8A 2168 0008 000C move.l [A0 + 0xC], [A0 + 0x8]
label00004C90:
00004C90 246B 0008 movea.l A2, [A3 + 0x8]
00004C94 2052 movea.l A0, [A2]
00004C96 4A47 tst.w D7
00004C98 671E beq +0x20 /* 00004CB8 */
00004C9A 1147 0007 move.b [A0 + 0x7], D7
00004C9E 0247 0003 andi.w D7, 0x3
00004CA2 5347 subq.w D7, 1
00004CA4 670A beq +0xC /* 00004CB0 */
00004CA6 5347 subq.w D7, 1
00004CA8 6704 beq +0x6 /* 00004CAE */
00004CAA 7EFF moveq.l D7, 0xFFFFFFFF
00004CAC 6002 bra +0x4 /* 00004CB0 */
label00004CAE:
00004CAE 7E01 moveq.l D7, 0x01
label00004CB0:
00004CB0 3F07 move.w -[A7], D7
00004CB2 2F28 0008 move.l -[A7], [A0 + 0x8]
00004CB6 A9DF syscall TESetAlignment/TESetJust
label00004CB8:
00004CB8 48E7 0030 movem.l -[A7], A2,A3
00004CBC 2052 movea.l A0, [A2]
00004CBE 2468 0008 movea.l A2, [A0 + 0x8]
00004CC2 4EBA 00D8 jsr [PC + 0xD8 /* 00004D9C */]
00004CC6 4CDF 0C00 movem.l A2,A3, [A7]+
00004CCA 2A0A move.l D5, A2
00004CCC 2052 movea.l A0, [A2]
00004CCE 2468 0008 movea.l A2, [A0 + 0x8]
00004CD2 4A06 tst.b D6
00004CD4 6704 beq +0x6 /* 00004CDA */
00004CD6 1146 0006 move.b [A0 + 0x6], D6
label00004CDA:
00004CDA 2F0A move.l -[A7], A2
00004CDC A9D0 syscall TECalText
00004CDE 4AAD FEFC tst.l [A5 - 0x104]
00004CE2 660E bne +0x10 /* 00004CF2 */
00004CE4 700C moveq.l D0, 0x0C
00004CE6 1206 move.b D1, D6
00004CE8 5301 subq.b D1, 1
00004CEA C001 and.b D0, D1
00004CEC 670A beq +0xC /* 00004CF8 */
00004CEE 2F0A move.l -[A7], A2
00004CF0 A9D9 syscall TEDeactivate
label00004CF2:
00004CF2 2743 0008 move.l [A3 + 0x8], D3
00004CF6 6034 bra +0x36 /* 00004D2C */
label00004CF8:
00004CF8 4A83 tst.l D3
00004CFA 6716 beq +0x18 /* 00004D12 */
00004CFC B6AB 0008 cmp.l D3, [A3 + 0x8]
00004D00 672A beq +0x2C /* 00004D2C */
00004D02 2043 movea.l A0, D3
00004D04 2050 movea.l A0, [A0]
00004D06 3B68 0004 F658 move.w [A5 - 0x9A8], [A0 + 0x4]
00004D0C 2F28 0008 move.l -[A7], [A0 + 0x8]
00004D10 A9D9 syscall TEDeactivate
label00004D12:
00004D12 2F0A move.l -[A7], A2
00004D14 A9D8 syscall TEActivate
00004D16 4A2D F53A tst.b [A5 - 0xAC6]
00004D1A 6610 bne +0x12 /* 00004D2C */
00004D1C 1006 move.b D0, D6
00004D1E 5300 subq.b D0, 1
00004D20 0800 0000 btst.b D0, 0x0
00004D24 6706 beq +0x8 /* 00004D2C */
00004D26 50E7 st -[A7]
00004D28 2F0A move.l -[A7], A2
00004D2A A813 syscall TEAutoView
label00004D2C:
00004D2C 082D 0002 F64C btst.b [A5 - 0x9B4], 0x2
00004D32 6702 beq +0x4 /* 00004D36 */
00004D34 6158 bsr +0x5A /* 00004D8E */
label00004D36:
00004D36 2F0A move.l -[A7], A2
00004D38 6100 D2A4 bsr -0x2D5A /* 00001FDE */
00004D3C 2445 movea.l A2, D5
00004D3E 4EBA 0B1A jsr [PC + 0xB1A /* 0000585A */]
00004D42 102D F64C move.b D0, [A5 - 0x9B4]
00004D46 0800 0003 btst.b D0, 0x3
00004D4A 662E bne +0x30 /* 00004D7A */
00004D4C 0200 0003 andi.b D0, 0x3
00004D50 6728 beq +0x2A /* 00004D7A */
00004D52 6100 FC3A bsr -0x3C4 /* 0000498E */
00004D56 6722 beq +0x24 /* 00004D7A */
00004D58 302D F5DE move.w D0, [A5 - 0xA22]
00004D5C 41ED F626 lea.l A0, [A5 - 0x9DA]
00004D60 2F08 move.l -[A7], A0
00004D62 4227 clr.b -[A7]
00004D64 486D F678 pea.l [A5 - 0x988]
00004D68 2F08 move.l -[A7], A0
00004D6A 2F08 move.l -[A7], A0
00004D6C 9158 sub.w [A0]+, D0
00004D6E 9158 sub.w [A0]+, D0
00004D70 D158 add.w [A0]+, D0
00004D72 D158 add.w [A0]+, D0
00004D74 A8AA syscall SectRect
00004D76 101F move.b D0, [A7]+
00004D78 A928 syscall InvalRect
label00004D7A:
00004D7A 245F movea.l A2, [A7]+
00004D7C 204A movea.l A0, A2
00004D7E 4EBA 024E jsr [PC + 0x24E /* 00004FCE */]
00004D82 1606 move.b D3, D6
00004D84 4EBA 0324 jsr [PC + 0x324 /* 000050AA */]
00004D88 1606 move.b D3, D6
00004D8A 4EFA 02E6 jmp [PC + 0x2E6 /* 00005072 */]
fn00004D8E:
00004D8E 42A7 clr.l -[A7]
00004D90 2F3C 0000 7FFF move.l -[A7], 0x7FFF
00004D96 2F0A move.l -[A7], A2
00004D98 A9D1 syscall TESetSelect
00004D9A 4E75 rts
fn00004D9C:
00004D9C 487A 0DAC pea.l [PC + 0xDAC /* 00005B4A, value 0x0 */]
00004DA0 A87B syscall ClipRect
00004DA2 4A2D F53A tst.b [A5 - 0xAC6]
00004DA6 6732 beq +0x34 /* 00004DDA */
00004DA8 102D F64C move.b D0, [A5 - 0x9B4]
00004DAC 0200 0060 andi.b D0, 0x60 /* '`' */
00004DB0 6700 0096 beq +0x98 /* 00004E48 */
00004DB4 41ED F546 lea.l A0, [A5 - 0xABA]
00004DB8 2205 move.l D1, D5
00004DBA 2A08 move.l D5, A0
00004DBC 0800 0006 btst.b D0, 0x6
00004DC0 6708 beq +0xA /* 00004DCA */
00004DC2 30FC 0526 move.w [A0]+, 0x526
00004DC6 2081 move.l [A0], D1
00004DC8 6006 bra +0x8 /* 00004DD0 */
label00004DCA:
00004DCA 30FC 0325 move.w [A0]+, 0x325
00004DCE 3081 move.w [A0], D1
label00004DD0:
00004DD0 08ED 0002 F64C bset.b [A5 - 0x9B4], 0x2
00004DD6 4EFA 0070 jmp [PC + 0x70 /* 00004E48 */]
label00004DDA:
00004DDA 102D F64C move.b D0, [A5 - 0x9B4]
00004DDE 0200 0060 andi.b D0, 0x60 /* '`' */
00004DE2 6700 0064 beq +0x66 /* 00004E48 */
00004DE6 61A6 bsr -0x58 /* 00004D8E */
00004DE8 2F0A move.l -[A7], A2
00004DEA A9D7 syscall TEDelete
00004DEC 082D 0006 F64C btst.b [A5 - 0x9B4], 0x6
00004DF2 6632 bne +0x34 /* 00004E26 */
00004DF4 42A7 clr.l -[A7]
00004DF6 2F3C 5445 5854 move.l -[A7], 0x54455854 /* 'TEXT' */
00004DFC 3F05 move.w -[A7], D5
00004DFE A9A0 syscall GetResource
00004E00 201F move.l D0, [A7]+
00004E02 6744 beq +0x46 /* 00004E48 */
00004E04 2040 movea.l A0, D0
00004E06 A029 syscall HLock
00004E08 A025 syscall GetHandleSize
00004E0A 48E7 8080 movem.l -[A7], D0,A0
00004E0E 42A7 clr.l -[A7]
00004E10 2F3C 7374 796C move.l -[A7], 0x7374796C /* 'styl' */
00004E16 3F05 move.w -[A7], D5
00004E18 A9A0 syscall GetResource
00004E1A 205F movea.l A0, [A7]+
00004E1C 4CDF 0202 movem.l D1,A1, [A7]+
00004E20 2A09 move.l D5, A1
00004E22 2251 movea.l A1, [A1]
00004E24 600E bra +0x10 /* 00004E34 */
label00004E26:
00004E26 2F0A move.l -[A7], A2
00004E28 2045 movea.l A0, D5
00004E2A 6732 beq +0x34 /* 00004E5E */
00004E2C 4EBA 0C02 jsr [PC + 0xC02 /* 00005A30 */]
00004E30 204A movea.l A0, A2
00004E32 245F movea.l A2, [A7]+
label00004E34:
00004E34 2F09 move.l -[A7], A1
00004E36 2F01 move.l -[A7], D1
00004E38 2F08 move.l -[A7], A0
00004E3A 2F0A move.l -[A7], A2
00004E3C 3F3C 0007 move.w -[A7], 0x7
00004E40 A83D syscall TEDispatch
00004E42 2045 movea.l A0, D5
00004E44 A02A syscall HUnlock
00004E46 6016 bra +0x18 /* 00004E5E */
label00004E48:
00004E48 2045 movea.l A0, D5
00004E4A 082D 0002 F64C btst.b [A5 - 0x9B4], 0x2
00004E50 670C beq +0xE /* 00004E5E */
00004E52 7000 moveq.l D0, 0x00
00004E54 1018 move.b D0, [A0]+
00004E56 2F08 move.l -[A7], A0
00004E58 2F00 move.l -[A7], D0
00004E5A 2F0A move.l -[A7], A2
00004E5C A9CF syscall TESetText
label00004E5E:
00004E5E 4EFA 0878 jmp [PC + 0x878 /* 000056D8 */]
fn00004E62:
00004E62 486D F610 pea.l [A5 - 0x9F0]
00004E66 701F moveq.l D0, 0x1F
00004E68 C003 and.b D0, D3
00004E6A 0C00 0010 cmpi.b D0, 0x10
00004E6E 6506 bcs +0x8 /* 00004E76 */
00004E70 0C00 001C cmpi.b D0, 0x1C
00004E74 6536 bcs +0x38 /* 00004EAC */
label00004E76:
00004E76 0803 0001 btst.b D3, 0x1
00004E7A 662C bne +0x2E /* 00004EA8 */
00004E7C 0803 0006 btst.b D3, 0x6
00004E80 660E bne +0x10 /* 00004E90 */
00004E82 0803 0005 btst.b D3, 0x5
00004E86 6604 bne +0x6 /* 00004E8C */
00004E88 A8A1 syscall FrameRect
00004E8A 601A bra +0x1C /* 00004EA6 */
label00004E8C:
00004E8C A8B7 syscall FrameOval
00004E8E 6016 bra +0x18 /* 00004EA6 */
label00004E90:
00004E90 0803 0005 btst.b D3, 0x5
00004E94 6608 bne +0xA /* 00004E9E */
00004E96 2F3C 0004 0004 move.l -[A7], 0x40004
00004E9C 6006 bra +0x8 /* 00004EA4 */
label00004E9E:
00004E9E 2F3C 0010 0010 move.l -[A7], 0x100010
label00004EA4:
00004EA4 A8B0 syscall FrameRoundRect
label00004EA6:
00004EA6 4E75 rts
label00004EA8:
00004EA8 588F addq.l A7, 4
00004EAA 4E75 rts
label00004EAC:
00004EAC 205F movea.l A0, [A7]+
00004EAE 48E7 0F00 movem.l -[A7], D4,D5,D6,D7
00004EB2 3818 move.w D4, [A0]+
00004EB4 3A18 move.w D5, [A0]+
00004EB6 3C18 move.w D6, [A0]+
00004EB8 3E18 move.w D7, [A0]+
00004EBA 0803 0003 btst.b D3, 0x3
00004EBE 675E beq +0x60 /* 00004F1E */
00004EC0 0803 0000 btst.b D3, 0x0
00004EC4 670C beq +0xE /* 00004ED2 */
00004EC6 3F05 move.w -[A7], D5
00004EC8 3F04 move.w -[A7], D4
00004ECA 3F07 move.w -[A7], D7
00004ECC 3F06 move.w -[A7], D6
00004ECE A893 syscall MoveTo
00004ED0 A891 syscall LineTo
label00004ED2:
00004ED2 0803 0001 btst.b D3, 0x1
00004ED6 670C beq +0xE /* 00004EE4 */
00004ED8 3F07 move.w -[A7], D7
00004EDA 3F04 move.w -[A7], D4
00004EDC 3F05 move.w -[A7], D5
00004EDE 3F06 move.w -[A7], D6
00004EE0 A893 syscall MoveTo
00004EE2 A891 syscall LineTo
label00004EE4:
00004EE4 0803 0005 btst.b D3, 0x5
00004EE8 6714 beq +0x16 /* 00004EFE */
00004EEA 3007 move.w D0, D7
00004EEC 9045 sub.w D0, D5
00004EEE E248 lsr D0.w, 1
00004EF0 D045 add.w D0, D5
00004EF2 3F00 move.w -[A7], D0
00004EF4 3F04 move.w -[A7], D4
00004EF6 3F00 move.w -[A7], D0
00004EF8 3F06 move.w -[A7], D6
00004EFA A893 syscall MoveTo
00004EFC A891 syscall LineTo
label00004EFE:
00004EFE 0803 0006 btst.b D3, 0x6
00004F02 6714 beq +0x16 /* 00004F18 */
00004F04 3006 move.w D0, D6
00004F06 9044 sub.w D0, D4
00004F08 E248 lsr D0.w, 1
00004F0A D044 add.w D0, D4
00004F0C 3F07 move.w -[A7], D7
00004F0E 3F00 move.w -[A7], D0
00004F10 3F05 move.w -[A7], D5
00004F12 3F00 move.w -[A7], D0
00004F14 A893 syscall MoveTo
00004F16 A891 syscall LineTo
label00004F18:
00004F18 0883 0003 bclr.b D3, 0x3
00004F1C 6048 bra +0x4A /* 00004F66 */
label00004F1E:
00004F1E 0803 0000 btst.b D3, 0x0
00004F22 670C beq +0xE /* 00004F30 */
00004F24 3F05 move.w -[A7], D5
00004F26 3F04 move.w -[A7], D4
00004F28 3F05 move.w -[A7], D5
00004F2A 3F06 move.w -[A7], D6
00004F2C A893 syscall MoveTo
00004F2E A891 syscall LineTo
label00004F30:
00004F30 0803 0001 btst.b D3, 0x1
00004F34 670C beq +0xE /* 00004F42 */
00004F36 3F07 move.w -[A7], D7
00004F38 3F04 move.w -[A7], D4
00004F3A 3F07 move.w -[A7], D7
00004F3C 3F06 move.w -[A7], D6
00004F3E A893 syscall MoveTo
00004F40 A891 syscall LineTo
label00004F42:
00004F42 0803 0005 btst.b D3, 0x5
00004F46 670C beq +0xE /* 00004F54 */
00004F48 3F05 move.w -[A7], D5
00004F4A 3F04 move.w -[A7], D4
00004F4C 3F07 move.w -[A7], D7
00004F4E 3F04 move.w -[A7], D4
00004F50 A893 syscall MoveTo
00004F52 A891 syscall LineTo
label00004F54:
00004F54 0803 0006 btst.b D3, 0x6
00004F58 670C beq +0xE /* 00004F66 */
00004F5A 3F05 move.w -[A7], D5
00004F5C 3F06 move.w -[A7], D6
00004F5E 3F07 move.w -[A7], D7
00004F60 3F06 move.w -[A7], D6
00004F62 A893 syscall MoveTo
00004F64 A891 syscall LineTo
label00004F66:
00004F66 4CDF 00F0 movem.l D4,D5,D6,D7, [A7]+
00004F6A 4E75 rts
fn00004F6C:
00004F6C 5303 subq.b D3, 1
00004F6E A89E syscall PenNormal
00004F70 0803 0007 btst.b D3, 0x7
00004F74 6708 beq +0xA /* 00004F7E */
00004F76 2F3C 0003 0003 move.l -[A7], 0x30003
00004F7C A89B syscall PenSize
label00004F7E:
00004F7E 6100 FEE2 bsr -0x11C /* 00004E62 */
00004F82 0803 0003 btst.b D3, 0x3
00004F86 6742 beq +0x44 /* 00004FCA */
00004F88 0803 0002 btst.b D3, 0x2
00004F8C 6600 E820 bne -0x17DE /* 000037AE */
00004F90 3F3C 000B move.w -[A7], 0xB
00004F94 A89C syscall PenMode
00004F96 486D FFE4 pea.l [A5 - 0x1C]
00004F9A A89D syscall PenPat
00004F9C 486D F610 pea.l [A5 - 0x9F0]
00004FA0 0803 0006 btst.b D3, 0x6
00004FA4 660E bne +0x10 /* 00004FB4 */
00004FA6 0803 0005 btst.b D3, 0x5
00004FAA 6604 bne +0x6 /* 00004FB0 */
00004FAC A8A2 syscall PaintRect
00004FAE 601A bra +0x1C /* 00004FCA */
label00004FB0:
00004FB0 A8B8 syscall PaintOval
00004FB2 6016 bra +0x18 /* 00004FCA */
label00004FB4:
00004FB4 0803 0005 btst.b D3, 0x5
00004FB8 6608 bne +0xA /* 00004FC2 */
00004FBA 2F3C 0004 0004 move.l -[A7], 0x40004
00004FC0 6006 bra +0x8 /* 00004FC8 */
label00004FC2:
00004FC2 2F3C 0010 0010 move.l -[A7], 0x100010
label00004FC8:
00004FC8 A8B1 syscall PaintRoundRect
label00004FCA:
00004FCA A89E syscall PenNormal
00004FCC 4E75 rts
fn00004FCE:
00004FCE 2050 movea.l A0, [A0]
00004FD0 41E8 000C lea.l A0, [A0 + 0xC]
00004FD4 2010 move.l D0, [A0]
00004FD6 B0A0 cmp.l D0, -[A0]
00004FD8 6602 bne +0x4 /* 00004FDC */
00004FDA 5188 subq.l A0, 8
label00004FDC:
00004FDC 2B58 F610 move.l [A5 - 0x9F0], [A0]+
00004FE0 2B58 F614 move.l [A5 - 0x9EC], [A0]+
00004FE4 302D F5DE move.w D0, [A5 - 0xA22]
00004FE8 916D F610 sub.w [A5 - 0x9F0], D0
00004FEC 916D F612 sub.w [A5 - 0x9EE], D0
00004FF0 D16D F614 add.w [A5 - 0x9EC], D0
00004FF4 D16D F616 add.w [A5 - 0x9EA], D0
00004FF8 4E75 rts
fn00004FFA:
00004FFA 2600 move.l D3, D0
00004FFC 6100 F990 bsr -0x66E /* 0000498E */
00005000 6720 beq +0x22 /* 00005022 */
00005002 2003 move.l D0, D3
00005004 E949 lsl D1.w, 4
00005006 206D F748 movea.l A0, [A5 - 0x8B8]
0000500A 47F0 1000 lea.l A3, [A0 + D1.w]
0000500E 41EB 0004 lea.l A0, [A3 + 0x4]
label00005012:
00005012 2610 move.l D3, [A0]
00005014 670C beq +0xE /* 00005022 */
00005016 2043 movea.l A0, D3
00005018 2050 movea.l A0, [A0]
0000501A B068 0004 cmp.w D0, [A0 + 0x4]
0000501E 66F2 bne -0xC /* 00005012 */
00005020 4A40 tst.w D0
label00005022:
00005022 4E75 rts
00005024 1B40 F64C move.b [A5 - 0x9B4], D0
00005028 221F move.l D1, [A7]+
0000502A 2A1F move.l D5, [A7]+
0000502C 201F move.l D0, [A7]+
0000502E 2F01 move.l -[A7], D1
00005030 61C8 bsr -0x36 /* 00004FFA */
00005032 6602 bne +0x4 /* 00005036 */
00005034 4E75 rts
label00005036:
00005036 2468 0008 movea.l A2, [A0 + 0x8]
0000503A 1628 0006 move.b D3, [A0 + 0x6]
0000503E 615E bsr +0x60 /* 0000509E */
00005040 57ED F53A seq [A5 - 0xAC6]
00005044 4EBA 084C jsr [PC + 0x84C /* 00005892 */]
00005048 6100 FD52 bsr -0x2AC /* 00004D9C */
0000504C 6100 FD40 bsr -0x2BE /* 00004D8E */
00005050 204A movea.l A0, A2
00005052 6100 FF7A bsr -0x84 /* 00004FCE */
00005056 486D F610 pea.l [A5 - 0x9F0]
0000505A 2F3C 0001 0001 move.l -[A7], 0x10001
00005060 A8A9 syscall InsetRect
00005062 6146 bsr +0x48 /* 000050AA */
00005064 486D F610 pea.l [A5 - 0x9F0]
00005068 70FF moveq.l D0, 0xFFFFFFFF
0000506A 2F00 move.l -[A7], D0
0000506C A8A9 syscall InsetRect
0000506E 6100 CF6E bsr -0x3090 /* 00001FDE */
label00005072:
00005072 6100 FEF8 bsr -0x106 /* 00004F6C */
00005076 6126 bsr +0x28 /* 0000509E */
00005078 6616 bne +0x18 /* 00005090 */
0000507A 4A68 003C tst.w [A0 + 0x3C]
0000507E 660C bne +0xE /* 0000508C */
00005080 6100 F90C bsr -0x6F2 /* 0000498E */
00005084 6716 beq +0x18 /* 0000509C */
00005086 486D F610 pea.l [A5 - 0x9F0]
0000508A A928 syscall InvalRect
label0000508C:
0000508C 4EFA 0656 jmp [PC + 0x656 /* 000056E4 */]
label00005090:
00005090 6100 F8FC bsr -0x702 /* 0000498E */
00005094 6706 beq +0x8 /* 0000509C */
00005096 486D F610 pea.l [A5 - 0x9F0]
0000509A A92A syscall ValidRect
label0000509C:
0000509C 4E75 rts
fn0000509E:
0000509E 2052 movea.l A0, [A2]
000050A0 2028 0008 move.l D0, [A0 + 0x8]
000050A4 B0A8 000C cmp.l D0, [A0 + 0xC]
000050A8 4E75 rts
fn000050AA:
000050AA 61F2 bsr -0xC /* 0000509E */
000050AC 6776 beq +0x78 /* 00005124 */
000050AE 2F2D F610 move.l -[A7], [A5 - 0x9F0]
000050B2 2F2D F614 move.l -[A7], [A5 - 0x9EC]
000050B6 2B68 0008 F610 move.l [A5 - 0x9F0], [A0 + 0x8]
000050BC 2B68 000C F614 move.l [A5 - 0x9EC], [A0 + 0xC]
000050C2 3028 003C move.w D0, [A0 + 0x3C]
000050C6 6714 beq +0x16 /* 000050DC */
000050C8 42A7 clr.l -[A7]
000050CA 3F00 move.w -[A7], D0
000050CC 2F0A move.l -[A7], A2
000050CE 3F3C 0008 move.w -[A7], 0x8
000050D2 A83D syscall TEDispatch
000050D4 201F move.l D0, [A7]+
000050D6 4840 swap.w D0
000050D8 3B40 F610 move.w [A5 - 0x9F0], D0
label000050DC:
000050DC 486D F610 pea.l [A5 - 0x9F0]
000050E0 A8A3 syscall EraseRect
000050E2 2B5F F614 move.l [A5 - 0x9EC], [A7]+
000050E6 2B5F F610 move.l [A5 - 0x9F0], [A7]+
000050EA 486D F610 pea.l [A5 - 0x9F0]
000050EE 2F0A move.l -[A7], A2
000050F0 A9D3 syscall TEUpdate
000050F2 2052 movea.l A0, [A2]
000050F4 43E8 0010 lea.l A1, [A0 + 0x10]
000050F8 41ED F62E lea.l A0, [A5 - 0x9D2]
000050FC 2121 move.l -[A0], -[A1]
000050FE 2121 move.l -[A0], -[A1]
00005100 302D F5DE move.w D0, [A5 - 0xA22]
00005104 2F08 move.l -[A7], A0
00005106 9158 sub.w [A0]+, D0
00005108 9158 sub.w [A0]+, D0
0000510A D158 add.w [A0]+, D0
0000510C D158 add.w [A0]+, D0
0000510E 3F00 move.w -[A7], D0
00005110 3F00 move.w -[A7], D0
00005112 A89E syscall PenNormal
00005114 A89B syscall PenSize
00005116 486D FFF4 pea.l [A5 - 0xC]
0000511A A89D syscall PenPat
0000511C A8A1 syscall FrameRect
0000511E A89E syscall PenNormal
00005120 4EFA 0116 jmp [PC + 0x116 /* 00005238 */]
label00005124:
00005124 48E7 1F30 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3
00005128 47ED F618 lea.l A3, [A5 - 0x9E8]
0000512C 2F23 move.l -[A7], -[A3]
0000512E 2F23 move.l -[A7], -[A3]
00005130 42A7 clr.l -[A7]
00005132 A8D8 syscall NewRgn
00005134 2C1F move.l D6, [A7]+
00005136 2F06 move.l -[A7], D6
00005138 2F06 move.l -[A7], D6
0000513A 2F06 move.l -[A7], D6
0000513C A87A syscall GetClip
0000513E 42A7 clr.l -[A7]
00005140 A8D8 syscall NewRgn
00005142 2A1F move.l D5, [A7]+
00005144 A8DA syscall OpenRgn
00005146 5303 subq.b D3, 1
00005148 3F03 move.w -[A7], D3
0000514A 0803 0004 btst.b D3, 0x4
0000514E 670E beq +0x10 /* 0000515E */
00005150 0803 0003 btst.b D3, 0x3
00005154 6706 beq +0x8 /* 0000515C */
00005156 0803 0002 btst.b D3, 0x2
0000515A 6602 bne +0x4 /* 0000515E */
label0000515C:
0000515C 7600 moveq.l D3, 0x00
label0000515E:
0000515E 0203 00E0 andi.b D3, 0xE0
00005162 6100 FCFE bsr -0x300 /* 00004E62 */
00005166 361F move.w D3, [A7]+
00005168 2F05 move.l -[A7], D5
0000516A A8DB syscall CloseRgn
0000516C 2F05 move.l -[A7], D5
0000516E 2F06 move.l -[A7], D6
00005170 2F05 move.l -[A7], D5
00005172 A8E4 syscall SectRgn
00005174 2F05 move.l -[A7], D5
00005176 A879 syscall SetClip
00005178 6100 F814 bsr -0x7EA /* 0000498E */
0000517C 6704 beq +0x6 /* 00005182 */
0000517E 2F05 move.l -[A7], D5
00005180 A929 syscall ValidRgn
label00005182:
00005182 2F05 move.l -[A7], D5
00005184 A8D9 syscall DisposRgn/DisposeRgn
00005186 2052 movea.l A0, [A2]
00005188 3028 003C move.w D0, [A0 + 0x3C]
0000518C 1A03 move.b D5, D3
0000518E 3628 003A move.w D3, [A0 + 0x3A]
00005192 0240 003F andi.w D0, 0x3F /* '?' */
00005196 2068 003E movea.l A0, [A0 + 0x3E]
0000519A 2050 movea.l A0, [A0]
0000519C 43ED FEBC lea.l A1, [A5 - 0x144]
000051A0 12C0 move.b [A1]+, D0
000051A2 6002 bra +0x4 /* 000051A6 */
label000051A4:
000051A4 12D8 move.b [A1]+, [A0]+
label000051A6:
000051A6 51C8 FFFC dbf D0, -0x6 /* 000051A4 */
000051AA 41ED FEBC lea.l A0, [A5 - 0x144]
000051AE 203C 5049 4354 move.l D0, 0x50494354 /* 'PICT' */
000051B4 4EBA 008C jsr [PC + 0x8C /* 00005242 */]
000051B8 6700 0072 beq +0x74 /* 0000522C */
000051BC 2440 movea.l A2, D0
000051BE 2052 movea.l A0, [A2]
000051C0 5048 addq.w A0, 8
000051C2 3E10 move.w D7, [A0]
000051C4 3C20 move.w D6, -[A0]
000051C6 9E60 sub.w D7, -[A0]
000051C8 9C60 sub.w D6, -[A0]
000051CA 224B movea.l A1, A3
000051CC 4A43 tst.w D3
000051CE 673E beq +0x40 /* 0000520E */
000051D0 6B34 bmi +0x36 /* 00005206 */
000051D2 3607 move.w D3, D7
000051D4 3806 move.w D4, D6
000051D6 3019 move.w D0, [A1]+
000051D8 3219 move.w D1, [A1]+
000051DA 4440 neg.w D0
000051DC 4441 neg.w D1
000051DE D059 add.w D0, [A1]+
000051E0 D259 add.w D1, [A1]+
000051E2 9243 sub.w D1, D3
000051E4 9044 sub.w D0, D4
000051E6 48C0 ext.l D0
000051E8 48C1 ext.l D1
000051EA 7602 moveq.l D3, 0x02
000051EC 81C3 divs.w D0, D3
000051EE 83C3 divs.w D1, D3
000051F0 5189 subq.l A1, 8
000051F2 D151 add.w [A1], D0
000051F4 3019 move.w D0, [A1]+
000051F6 D351 add.w [A1], D1
000051F8 3219 move.w D1, [A1]+
000051FA 5888 addq.l A0, 4
000051FC D058 add.w D0, [A0]+
000051FE 32C0 move.w [A1]+, D0
00005200 D258 add.w D1, [A0]+
00005202 32C1 move.w [A1]+, D1
00005204 6008 bra +0xA /* 0000520E */
label00005206:
00005206 DC59 add.w D6, [A1]+
00005208 DE59 add.w D7, [A1]+
0000520A 32C6 move.w [A1]+, D6
0000520C 32C7 move.w [A1]+, D7
label0000520E:
0000520E 2F0A move.l -[A7], A2
00005210 4853 pea.l [A3]
00005212 0805 0003 btst.b D5, 0x3
00005216 6606 bne +0x8 /* 0000521E */
00005218 0805 0002 btst.b D5, 0x2
0000521C 6706 beq +0x8 /* 00005224 */
label0000521E:
0000521E 0805 0000 btst.b D5, 0x0
00005222 6606 bne +0x8 /* 0000522A */
label00005224:
00005224 487A 091C pea.l [PC + 0x91C /* 00005B42, value 0x0 */]
00005228 A8A3 syscall EraseRect
label0000522A:
0000522A A8F6 syscall DrawPicture
label0000522C:
0000522C A879 syscall SetClip
0000522E A8D9 syscall DisposRgn/DisposeRgn
00005230 26DF move.l [A3]+, [A7]+
00005232 26DF move.l [A3]+, [A7]+
00005234 4CDF 0CF8 movem.l D3,D4,D5,D6,D7,A2,A3, [A7]+
label00005238:
00005238 4E75 rts
fn0000523A:
0000523A 204B movea.l A0, A3
0000523C 203C 736E 6420 move.l D0, 0x736E6420 /* 'snd ' */
fn00005242:
00005242 43ED FAFE lea.l A1, [A5 - 0x502]
00005246 723F moveq.l D1, 0x3F
label00005248:
00005248 12D8 move.b [A1]+, [A0]+
0000524A 51C9 FFFC dbf D1, -0x6 /* 00005248 */
0000524E 41ED FB00 lea.l A0, [A5 - 0x500]
00005252 2F10 move.l -[A7], [A0]
00005254 0C60 0526 cmpi.w -[A0], 0x526
00005258 6714 beq +0x16 /* 0000526E */
0000525A 2F00 move.l -[A7], D0
0000525C 0C50 0325 cmpi.w [A0], 0x325
00005260 6608 bne +0xA /* 0000526A */
00005262 3F28 0002 move.w -[A7], [A0 + 0x2]
00005266 A9A0 syscall GetResource
00005268 6004 bra +0x6 /* 0000526E */
label0000526A:
0000526A 4850 pea.l [A0]
0000526C A9A1 syscall GetNamedResource
label0000526E:
0000526E 201F move.l D0, [A7]+
00005270 4E75 rts
00005272 202D FD8E move.l D0, [A5 - 0x272]
00005276 6706 beq +0x8 /* 0000527E */
00005278 302D FD9A move.w D0, [A5 - 0x266]
0000527C 48C0 ext.l D0
label0000527E:
0000527E 4E75 rts
00005280 7201 moveq.l D1, 0x01
00005282 6002 bra +0x4 /* 00005286 */
fn00005284:
00005284 7200 moveq.l D1, 0x00
label00005286:
00005286 202D FD8E move.l D0, [A5 - 0x272]
0000528A 6720 beq +0x22 /* 000052AC */
0000528C 42A7 clr.l -[A7]
0000528E 2F00 move.l -[A7], D0
00005290 1F01 move.b -[A7], D1
00005292 A801 syscall SndDisposeChannel
00005294 4A9F tst.l [A7]+
00005296 43ED FD9A lea.l A1, [A5 - 0x266]
0000529A 4259 clr.w [A1]+
0000529C 4A91 tst.l [A1]
0000529E 6708 beq +0xA /* 000052A8 */
000052A0 2051 movea.l A0, [A1]
000052A2 4299 clr.l [A1]+
000052A4 3019 move.w D0, [A1]+
000052A6 A06A syscall HSetState
label000052A8:
000052A8 42AD FD8E clr.l [A5 - 0x272]
label000052AC:
000052AC 4E75 rts
export_26:
000052AE 2648 movea.l A3, A0
000052B0 61D2 bsr -0x2C /* 00005284 */
000052B2 6186 bsr -0x78 /* 0000523A */
000052B4 6760 beq +0x62 /* 00005316 */
000052B6 2040 movea.l A0, D0
000052B8 2050 movea.l A0, [A0]
000052BA 42A7 clr.l -[A7]
000052BC 486D FD8E pea.l [A5 - 0x272]
000052C0 4267 clr.w -[A7]
000052C2 4A68 001C tst.w [A0 + 0x1C]
000052C6 6604 bne +0x6 /* 000052CC */
000052C8 3EBC 0005 move.w [A7], 0x5
label000052CC:
000052CC 42A7 clr.l -[A7]
000052CE 487A 0048 pea.l [PC + 0x48 /* 00005318, value 0x225F205F '\"_ _' */]
000052D2 A807 syscall SndNewChannel
000052D4 4A9F tst.l [A7]+
000052D6 6100 FF62 bsr -0x9C /* 0000523A */
000052DA 2040 movea.l A0, D0
000052DC A069 syscall HGetState
000052DE 2B48 FD9C move.l [A5 - 0x264], A0
000052E2 3B40 FDA0 move.w [A5 - 0x260], D0
000052E6 4267 clr.w -[A7]
000052E8 2F2D FD8E move.l -[A7], [A5 - 0x272]
000052EC 2F08 move.l -[A7], A0
000052EE 3F3C FFFF move.w -[A7], 0xFFFF
000052F2 A805 syscall SndPlay
000052F4 301F move.w D0, [A7]+
000052F6 4267 clr.w -[A7]
000052F8 2F2D FD8E move.l -[A7], [A5 - 0x272]
000052FC 41ED FD92 lea.l A0, [A5 - 0x26E]
00005300 2F08 move.l -[A7], A0
00005302 30FC 000D move.w [A0]+, 0xD /* '\r' */
00005306 30FC DEAD move.w [A0]+, 0xDEAD
0000530A 20CD move.l [A0]+, A5
0000530C 30BC FFFF move.w [A0], 0xFFFF
00005310 4267 clr.w -[A7]
00005312 A803 syscall SndDoCommand
00005314 301F move.w D0, [A7]+
label00005316:
00005316 4E75 rts
00005318 225F movea.l A1, [A7]+
0000531A 205F movea.l A0, [A7]+
0000531C 4A9F tst.l [A7]+
0000531E 0C68 DEAD 0002 cmpi.w [A0 + 0x2], 0xDEAD
00005324 6608 bne +0xA /* 0000532E */
00005326 2068 0004 movea.l A0, [A0 + 0x4]
0000532A 4268 FD9A clr.w [A0 - 0x266]
label0000532E:
0000532E 4ED1 jmp [A1]
export_28:
00005330 2600 move.l D3, D0
00005332 4EBA 055E jsr [PC + 0x55E /* 00005892 */]
00005336 206D F62E movea.l A0, [A5 - 0x9D2]
0000533A 7200 moveq.l D1, 0x00
0000533C 1228 0099 move.b D1, [A0 + 0x99]
00005340 E949 lsl D1.w, 4
00005342 266D F748 movea.l A3, [A5 - 0x8B8]
00005346 47F3 1000 lea.l A3, [A3 + D1.w]
0000534A 45EB 0004 lea.l A2, [A3 + 0x4]
0000534E 7800 moveq.l D4, 0x00
label00005350:
00005350 2012 move.l D0, [A2]
00005352 6760 beq +0x62 /* 000053B4 */
00005354 2440 movea.l A2, D0
00005356 2052 movea.l A0, [A2]
00005358 B668 0004 cmp.w D3, [A0 + 0x4]
0000535C 6708 beq +0xA /* 00005366 */
0000535E 280A move.l D4, A2
00005360 2452 movea.l A2, [A2]
00005362 43D2 lea.l A1, [A2]
00005364 60EA bra -0x14 /* 00005350 */
label00005366:
00005366 4A84 tst.l D4
00005368 6608 bne +0xA /* 00005372 */
0000536A 2052 movea.l A0, [A2]
0000536C 2810 move.l D4, [A0]
0000536E 43EB 0004 lea.l A1, [A3 + 0x4]
label00005372:
00005372 2052 movea.l A0, [A2]
00005374 2290 move.l [A1], [A0]
00005376 B5EB 0008 cmpa.l A2, [A3 + 0x8]
0000537A 6622 bne +0x24 /* 0000539E */
0000537C 4A84 tst.l D4
0000537E 671A beq +0x1C /* 0000539A */
00005380 2044 movea.l A0, D4
00005382 2050 movea.l A0, [A0]
00005384 42AB 0008 clr.l [A3 + 0x8]
00005388 1228 0006 move.b D1, [A0 + 0x6]
0000538C 700C moveq.l D0, 0x0C
0000538E 5301 subq.b D1, 1
00005390 C001 and.b D0, D1
00005392 670A beq +0xC /* 0000539E */
00005394 2F28 0008 move.l -[A7], [A0 + 0x8]
00005398 A9D8 syscall TEActivate
label0000539A:
0000539A 2744 0008 move.l [A3 + 0x8], D4
label0000539E:
0000539E 4EBA 04AC jsr [PC + 0x4AC /* 0000584C */]
000053A2 2052 movea.l A0, [A2]
000053A4 2068 0008 movea.l A0, [A0 + 0x8]
000053A8 6100 FC24 bsr -0x3DA /* 00004FCE */
000053AC 610A bsr +0xC /* 000053B8 */
000053AE 486D F610 pea.l [A5 - 0x9F0]
000053B2 A8A3 syscall EraseRect
label000053B4:
000053B4 4EFA 032E jmp [PC + 0x32E /* 000056E4 */]
fn000053B8:
000053B8 2052 movea.l A0, [A2]
000053BA 2F28 0008 move.l -[A7], [A0 + 0x8]
000053BE A9CD syscall TEDispose
000053C0 204A movea.l A0, A2
000053C2 A023 syscall DisposHandle/DisposeHandle
000053C4 4E75 rts
label000053C6:
000053C6 0C40 0006 cmpi.w D0, 0x6
000053CA 6304 bls +0x6 /* 000053D0 */
000053CC 7000 moveq.l D0, 0x00
000053CE 4E75 rts
label000053D0:
000053D0 4A40 tst.w D0
000053D2 670E beq +0x10 /* 000053E2 */
000053D4 D040 add.w D0, D0
000053D6 41ED F4BE lea.l A0, [A5 - 0xB42]
000053DA 3030 0000 move.w D0, [A0 + D0.w]
000053DE 48C0 ext.l D0
000053E0 4E75 rts
label000053E2:
000053E2 486D FC7E pea.l [A5 - 0x382]
000053E6 A972 syscall GetMouse
000053E8 2B6D FC7E F4C0 move.l [A5 - 0xB40], [A5 - 0x382]
000053EE 2B6D F4BA F4C4 move.l [A5 - 0xB3C], [A5 - 0xB46]
000053F4 2B6D F4B6 F4C8 move.l [A5 - 0xB38], [A5 - 0xB4A]
000053FA 4A2D F538 tst.b [A5 - 0xAC8]
000053FE 662A bne +0x2C /* 0000542A */
00005400 486D F4C0 pea.l [A5 - 0xB40]
00005404 486D F678 pea.l [A5 - 0x988]
00005408 486D F566 pea.l [A5 - 0xA9A]
0000540C A8F9 syscall MapPt
0000540E 486D F4C4 pea.l [A5 - 0xB3C]
00005412 486D F678 pea.l [A5 - 0x988]
00005416 486D F566 pea.l [A5 - 0xA9A]
0000541A A8F9 syscall MapPt
0000541C 486D F4C8 pea.l [A5 - 0xB38]
00005420 486D F678 pea.l [A5 - 0x988]
00005424 486D F566 pea.l [A5 - 0xA9A]
00005428 A8F9 syscall MapPt
label0000542A:
0000542A 202D F4C0 move.l D0, [A5 - 0xB40]
0000542E 4840 swap.w D0
00005430 2B40 F4C0 move.l [A5 - 0xB40], D0
00005434 202D F4C4 move.l D0, [A5 - 0xB3C]
00005438 4840 swap.w D0
0000543A 2B40 F4C4 move.l [A5 - 0xB3C], D0
0000543E 202D F4C8 move.l D0, [A5 - 0xB38]
00005442 4840 swap.w D0
00005444 2B40 F4C8 move.l [A5 - 0xB38], D0
00005448 7004 moveq.l D0, 0x04
0000544A 6100 F5FC bsr -0xA02 /* 00004A48 */
0000544E 6614 bne +0x16 /* 00005464 */
00005450 2F00 move.l -[A7], D0
00005452 3B40 F4BE move.w [A5 - 0xB42], D0
00005456 558F subq.l A7, 2
00005458 A973 syscall StillDown
0000545A 4A1F tst.b [A7]+
0000545C 6702 beq +0x4 /* 00005460 */
0000545E 4497 neg.l [A7]
label00005460:
00005460 201F move.l D0, [A7]+
00005462 4E75 rts
label00005464:
00005464 558F subq.l A7, 2
00005466 A973 syscall StillDown
00005468 7000 moveq.l D0, 0x00
0000546A 4A1F tst.b [A7]+
0000546C 6706 beq +0x8 /* 00005474 */
0000546E 302D F4BE move.w D0, [A5 - 0xB42]
00005472 4480 neg.l D0
label00005474:
00005474 4E75 rts
00005476 2B6D F724 F4B6 move.l [A5 - 0xB4A], [A5 - 0x8DC]
0000547C 486D F4B6 pea.l [A5 - 0xB4A]
00005480 A871 syscall GlobalToLocal
00005482 6000 D47E bra -0x2B80 /* 00002902 */
export_24:
00005486 0C40 000F cmpi.w D0, 0xF
0000548A 640C bcc +0xE /* 00005498 */
0000548C D040 add.w D0, D0
0000548E 323B 000A move.w D1, [PC + D0.w + 0xA]
00005492 7000 moveq.l D0, 0x00
00005494 4EBB 1004 jsr [PC + D1.w + 0x4]
label00005498:
00005498 4E75 rts
0000549A 0028 0030 0038 ori.b [A0 + 0x38], 0x30 /* '0' */
000054A0 0040 0050 ori.w D0, 0x50 /* 'P' */
000054A4 0062 006E ori.w -[A2], 0x6E /* 'n' */
000054A8 0076 0098 00B6 ori.w [A6 + D0.w - 0x74], 0x98
000054AE 00E2 ori.? -[A2], 0xFFFFFFFFFFFFFFFF
000054B0 00FE ori.? <<invalid special address>>, 0xFFFFFFFFFFFFFFFF
000054B2 00C6 ori.? D6, 0xFFFFFFFFFFFFFFFF
000054B4 00CE ori.? A6, 0xFFFFFFFFFFFFFFFF
000054B6 001E 102D ori.b [A6]+, 0x2D /* '-' */
000054BA F739 .extension 0x739 // unimplemented
000054BC 4880 ext.w D0
000054BE 48C0 ext.l D0
000054C0 4E75 rts
000054C2 302D F53E move.w D0, [A5 - 0xAC2]
000054C6 48C0 ext.l D0
000054C8 4E75 rts
000054CA 302D F83A move.w D0, [A5 - 0x7C6]
000054CE 48C0 ext.l D0
000054D0 4E75 rts
000054D2 3038 0210 move.w D0, [0x00000210 /* BootDrive */]
000054D6 48C0 ext.l D0
000054D8 4E75 rts
000054DA 7000 moveq.l D0, 0x00
000054DC 3038 028E move.w D0, [0x0000028E /* ROM85 */]
000054E0 0240 C000 andi.w D0, 0xC000
000054E4 6702 beq +0x4 /* 000054E8 */
000054E6 70FF moveq.l D0, 0xFFFFFFFF
label000054E8:
000054E8 4E75 rts
000054EA 302D F24E move.w D0, [A5 - 0xDB2]
000054EE 4A2D F739 tst.b [A5 - 0x8C7]
000054F2 6704 beq +0x6 /* 000054F8 */
000054F4 3038 0900 move.w D0, [0x00000900 /* CurApRefNum */]
label000054F8:
000054F8 48C0 ext.l D0
000054FA 4E75 rts
000054FC A01C syscall FreeMem
000054FE D0B8 0130 add.l D0, [0x00000130 /* ApplLimit */]
00005502 90B8 0114 sub.l D0, [0x00000114 /* HeapEnd */]
00005506 4E75 rts
00005508 610E bsr +0x10 /* 00005518 */
0000550A 3029 0016 move.w D0, [A1 + 0x16]
0000550E 4E75 rts
00005510 6106 bsr +0x8 /* 00005518 */
00005512 3029 0014 move.w D0, [A1 + 0x14]
00005516 4E75 rts
fn00005518:
00005518 598F subq.l A7, 4
0000551A 2F0F move.l -[A7], A7
0000551C A910 syscall GetWMgrPort
0000551E 225F movea.l A1, [A7]+
00005520 7000 moveq.l D0, 0x00
00005522 4E75 rts
fn00005524:
00005524 41ED FDFC lea.l A0, [A5 - 0x204]
00005528 7001 moveq.l D0, 0x01
0000552A A090 syscall SysEnvirons
0000552C 7000 moveq.l D0, 0x00
0000552E 7200 moveq.l D1, 0x00
00005530 4E75 rts
00005532 61F0 bsr -0xE /* 00005524 */
00005534 322D FE00 move.w D1, [A5 - 0x200]
00005538 E989 lsl D1, 4
0000553A 7402 moveq.l D2, 0x02
label0000553C:
0000553C E989 lsl D1, 4
0000553E 4841 swap.w D1
00005540 C0FC mulu.w D0, 0xFFFFFFFFFFFFFFFF
00005542 000A D041 ori.b A2, 0x41 /* 'A' */
00005546 4241 clr.w D1
00005548 4841 swap.w D1
0000554A 51CA FFF0 dbf D2, -0x12 /* 0000553C */
0000554E 4E75 rts
00005550 6100 F424 bsr -0xBDA /* 00004976 */
00005554 6708 beq +0xA /* 0000555E */
00005556 4A28 006F tst.b [A0 + 0x6F]
0000555A 6602 bne +0x4 /* 0000555E */
0000555C 4480 neg.l D0
label0000555E:
0000555E 4E75 rts
00005560 61C2 bsr -0x3C /* 00005524 */
00005562 302D FE02 move.w D0, [A5 - 0x1FE]
00005566 4E75 rts
00005568 61BA bsr -0x44 /* 00005524 */
0000556A 302D FDFE move.w D0, [A5 - 0x202]
0000556E 4E75 rts
fn00005570:
00005570 7001 moveq.l D0, 0x01
00005572 3238 028E move.w D1, [0x0000028E /* ROM85 */]
00005576 0241 C000 andi.w D1, 0xC000
0000557A 4E75 rts
0000557C 61F2 bsr -0xC /* 00005570 */
0000557E 6616 bne +0x18 /* 00005596 */
00005580 303C 08D7 move.w D0, 0x8D7
00005584 A146 syscall GetTrapAddress, flags=1
00005586 2608 move.l D3, A0
00005588 303C 089F move.w D0, 0x89F
0000558C A146 syscall GetTrapAddress, flags=1
0000558E 7008 moveq.l D0, 0x08
00005590 B688 cmp.l D3, A0
00005592 6702 beq +0x4 /* 00005596 */
00005594 7020 moveq.l D0, 0x20
label00005596:
00005596 4E75 rts
00005598 61D6 bsr -0x28 /* 00005570 */
0000559A 6614 bne +0x16 /* 000055B0 */
0000559C 598F subq.l A7, 4
0000559E 2F0F move.l -[A7], A7
000055A0 AA48 syscall GetCWMgrPort
000055A2 225F movea.l A1, [A7]+
000055A4 2069 0002 movea.l A0, [A1 + 0x2]
000055A8 2050 movea.l A0, [A0]
000055AA 7000 moveq.l D0, 0x00
000055AC 3028 0020 move.w D0, [A0 + 0x20]
label000055B0:
000055B0 4E75 rts
000055B2 206D 0010 movea.l A0, [A5 + 0x10]
000055B6 2050 movea.l A0, [A0]
000055B8 3C28 0002 move.w D6, [A0 + 0x2]
000055BC 4268 0002 clr.w [A0 + 0x2]
000055C0 226F 0010 movea.l A1, [A7 + 0x10]
000055C4 BC51 cmp.w D6, [A1]
000055C6 6502 bcs +0x4 /* 000055CA */
000055C8 3C11 move.w D6, [A1]
label000055CA:
000055CA 4A2D F739 tst.b [A5 - 0x8C7]
000055CE 6604 bne +0x6 /* 000055D4 */
000055D0 4251 clr.w [A1]
000055D2 6058 bra +0x5A /* 0000562C */
label000055D4:
000055D4 3286 move.w [A1], D6
000055D6 7204 moveq.l D1, 0x04
000055D8 604E bra +0x50 /* 00005628 */
label000055DA:
000055DA 226F 0004 movea.l A1, [A7 + 0x4]
000055DE 32B0 1000 move.w [A1], [A0 + D1.w]
000055E2 54AF 0004 addq.l [A7 + 0x4], 2
000055E6 5441 addq.w D1, 2
000055E8 226F 0008 movea.l A1, [A7 + 0x8]
000055EC 22B0 1000 move.l [A1], [A0 + D1.w]
000055F0 58AF 0008 addq.l [A7 + 0x8], 4
000055F4 5C41 addq.w D1, 6
000055F6 226F 000C movea.l A1, [A7 + 0xC]
000055FA 06AF 0000 0020 000C addi.l [A7 + 0xC], 0x20 /* ' ' */
00005602 7400 moveq.l D2, 0x00
00005604 45F0 1000 lea.l A2, [A0 + D1.w]
00005608 1412 move.b D2, [A2]
0000560A 0C42 001F cmpi.w D2, 0x1F
0000560E 6302 bls +0x4 /* 00005612 */
00005610 741F moveq.l D2, 0x1F
label00005612:
00005612 12DA move.b [A1]+, [A2]+
00005614 51CA FFFC dbf D2, -0x6 /* 00005612 */
00005618 7400 moveq.l D2, 0x00
0000561A 1430 1000 move.b D2, [A0 + D1.w]
0000561E D282 add.l D1, D2
00005620 5481 addq.l D1, 2
00005622 0281 FFFF FFFE andi.l D1, 0xFFFFFFFE
label00005628:
00005628 51CE FFB0 dbf D6, -0x52 /* 000055DA */
label0000562C:
0000562C 3010 move.w D0, [A0]
0000562E 48C0 ext.l D0
00005630 2F57 0010 move.l [A7 + 0x10], [A7]
00005634 4FEF 0010 lea.l A7, [A7 + 0x10]
00005638 4E75 rts
0000563A 205F movea.l A0, [A7]+
0000563C 245F movea.l A2, [A7]+
0000563E 4292 clr.l [A2]
00005640 301F move.w D0, [A7]+
00005642 2F08 move.l -[A7], A0
00005644 6710 beq +0x12 /* 00005656 */
00005646 206D F748 movea.l A0, [A5 - 0x8B8]
0000564A 0C40 0040 cmpi.w D0, 0x40 /* '@' */
0000564E 6406 bcc +0x8 /* 00005656 */
00005650 E948 lsl D0.w, 4
00005652 24B0 0000 move.l [A2], [A0 + D0.w]
label00005656:
00005656 4E75 rts
00005658 3E2D F662 move.w D7, [A5 - 0x99E]
0000565C DE6D F660 add.w D7, [A5 - 0x9A0]
00005660 DE6D F666 add.w D7, [A5 - 0x99A]
00005664 486D F5F6 pea.l [A5 - 0xA0A]
00005668 A89A syscall GetPen
0000566A 302D F5F6 move.w D0, [A5 - 0xA0A]
0000566E 3207 move.w D1, D7
00005670 E249 lsr D1.w, 1
00005672 9041 sub.w D0, D1
00005674 48C0 ext.l D0
00005676 81C7 divs.w D0, D7
00005678 48C0 ext.l D0
0000567A 4E75 rts
0000567C 6100 E4F8 bsr -0x1B06 /* 00003B76 */
00005680 671C beq +0x1E /* 0000569E */
00005682 E949 lsl D1.w, 4
00005684 2231 1004 move.l D1, [A1 + D1.w + 0x4]
label00005688:
00005688 6714 beq +0x16 /* 0000569E */
0000568A 2041 movea.l A0, D1
0000568C 2050 movea.l A0, [A0]
0000568E B068 0004 cmp.w D0, [A0 + 0x4]
00005692 6704 beq +0x6 /* 00005698 */
00005694 2210 move.l D1, [A0]
00005696 60F0 bra -0xE /* 00005688 */
label00005698:
00005698 2028 0008 move.l D0, [A0 + 0x8]
0000569C 4E75 rts
label0000569E:
0000569E 7000 moveq.l D0, 0x00
000056A0 4E75 rts
000056A2 4A80 tst.l D0
000056A4 670A beq +0xC /* 000056B0 */
000056A6 611A bsr +0x1C /* 000056C2 */
000056A8 6716 beq +0x18 /* 000056C0 */
000056AA 4290 clr.l [A0]
000056AC 4EFA 0036 jmp [PC + 0x36 /* 000056E4 */]
label000056B0:
000056B0 6110 bsr +0x12 /* 000056C2 */
000056B2 670C beq +0xE /* 000056C0 */
000056B4 20BC FFFF FFFF move.l [A0], 0xFFFFFFFF
000056BA 4869 0010 pea.l [A1 + 0x10]
000056BE A87B syscall ClipRect
label000056C0:
000056C0 4E75 rts
fn000056C2:
000056C2 4EBA 01AE jsr [PC + 0x1AE /* 00005872 */]
000056C6 6100 F2C6 bsr -0xD38 /* 0000498E */
000056CA 670A beq +0xC /* 000056D6 */
000056CC E949 lsl D1.w, 4
000056CE 41F1 100C lea.l A0, [A1 + D1.w + 0xC]
000056D2 2271 1000 movea.l A1, [A1 + D1.w]
label000056D6:
000056D6 4E75 rts
fn000056D8:
000056D8 486D F678 pea.l [A5 - 0x988]
000056DC A87B syscall ClipRect
000056DE 4E75 rts
000056E0 0000 0000 ori.b D0, 0x0
fn000056E4:
000056E4 4A2D F64B tst.b [A5 - 0x9B5]
000056E8 66EE bne -0x10 /* 000056D8 */
000056EA 6100 F2A2 bsr -0xD5C /* 0000498E */
000056EE 67E8 beq -0x16 /* 000056D8 */
000056F0 48E7 1830 movem.l -[A7], D3,D4,A2,A3
000056F4 E949 lsl D1.w, 4
000056F6 47F1 1000 lea.l A3, [A1 + D1.w]
000056FA 2453 movea.l A2, [A3]
000056FC 082A 0002 009A btst.b [A2 + 0x9A], 0x2
00005702 6610 bne +0x12 /* 00005714 */
00005704 282B 000C move.l D4, [A3 + 0xC]
00005708 6716 beq +0x18 /* 00005720 */
0000570A 0C84 FFFF FFFF cmpi.l D4, 0xFFFFFFFF
00005710 6600 006A bne +0x6C /* 0000577C */
label00005714:
00005714 486A 0010 pea.l [A2 + 0x10]
00005718 A87B syscall ClipRect
0000571A 4CDF 0C18 movem.l D3,D4,A2,A3, [A7]+
0000571E 4E75 rts
label00005720:
00005720 486D F678 pea.l [A5 - 0x988]
00005724 A87B syscall ClipRect
00005726 42A7 clr.l -[A7]
00005728 A8D8 syscall NewRgn
0000572A 281F move.l D4, [A7]+
0000572C 42A7 clr.l -[A7]
0000572E A8D8 syscall NewRgn
00005730 261F move.l D3, [A7]+
00005732 2F04 move.l -[A7], D4
00005734 A87A syscall GetClip
00005736 2F0A move.l -[A7], A2
00005738 45EA 008C lea.l A2, [A2 + 0x8C]
label0000573C:
0000573C 2012 move.l D0, [A2]
0000573E 670A beq +0xC /* 0000574A */
00005740 2440 movea.l A2, D0
00005742 4EBA 0042 jsr [PC + 0x42 /* 00005786 */]
00005746 2452 movea.l A2, [A2]
00005748 60F2 bra -0xC /* 0000573C */
label0000574A:
0000574A 245F movea.l A2, [A7]+
0000574C 2F2D F610 move.l -[A7], [A5 - 0x9F0]
00005750 2F2D F614 move.l -[A7], [A5 - 0x9EC]
00005754 2F05 move.l -[A7], D5
00005756 45EB 0004 lea.l A2, [A3 + 0x4]
label0000575A:
0000575A 2A12 move.l D5, [A2]
0000575C 670C beq +0xE /* 0000576A */
0000575E 2445 movea.l A2, D5
00005760 4EBA 0030 jsr [PC + 0x30 /* 00005792 */]
00005764 2445 movea.l A2, D5
00005766 2452 movea.l A2, [A2]
00005768 60F0 bra -0xE /* 0000575A */
label0000576A:
0000576A 2A1F move.l D5, [A7]+
0000576C 2B5F F614 move.l [A5 - 0x9EC], [A7]+
00005770 2B5F F610 move.l [A5 - 0x9F0], [A7]+
00005774 2F03 move.l -[A7], D3
00005776 A8D9 syscall DisposRgn/DisposeRgn
00005778 2744 000C move.l [A3 + 0xC], D4
label0000577C:
0000577C 2F04 move.l -[A7], D4
0000577E A879 syscall SetClip
00005780 4CDF 0C18 movem.l D3,D4,A2,A3, [A7]+
00005784 4E75 rts
fn00005786:
00005786 6162 bsr +0x64 /* 000057EA */
00005788 6706 beq +0x8 /* 00005790 */
0000578A 2F03 move.l -[A7], D3
0000578C 4850 pea.l [A0]
0000578E 6012 bra +0x14 /* 000057A2 */
label00005790:
00005790 4E75 rts
fn00005792:
00005792 2452 movea.l A2, [A2]
00005794 206A 0008 movea.l A0, [A2 + 0x8]
00005798 6100 F834 bsr -0x7CA /* 00004FCE */
0000579C 2F03 move.l -[A7], D3
0000579E 486D F610 pea.l [A5 - 0x9F0]
label000057A2:
000057A2 A8DF syscall RectRgn
000057A4 2F04 move.l -[A7], D4
000057A6 2F03 move.l -[A7], D3
000057A8 2F04 move.l -[A7], D4
000057AA A8E6 syscall DiffRgn
000057AC 4E75 rts
fn000057AE:
000057AE 6100 F1DE bsr -0xE20 /* 0000498E */
000057B2 671C beq +0x1E /* 000057D0 */
000057B4 0828 0002 009A btst.b [A0 + 0x9A], 0x2
000057BA 6616 bne +0x18 /* 000057D2 */
000057BC E949 lsl D1.w, 4
000057BE 2831 100C move.l D4, [A1 + D1.w + 0xC]
000057C2 670C beq +0xE /* 000057D0 */
000057C4 5284 addq.l D4, 1
000057C6 6708 beq +0xA /* 000057D0 */
000057C8 5384 subq.l D4, 1
000057CA 42A7 clr.l -[A7]
000057CC A8D8 syscall NewRgn
000057CE 261F move.l D3, [A7]+
label000057D0:
000057D0 4E75 rts
label000057D2:
000057D2 7000 moveq.l D0, 0x00
000057D4 4E75 rts
fn000057D6:
000057D6 61D6 bsr -0x28 /* 000057AE */
000057D8 670E beq +0x10 /* 000057E8 */
000057DA 61AA bsr -0x54 /* 00005786 */
000057DC 6006 bra +0x8 /* 000057E4 */
fn000057DE:
000057DE 61CE bsr -0x30 /* 000057AE */
000057E0 6706 beq +0x8 /* 000057E8 */
000057E2 6140 bsr +0x42 /* 00005824 */
label000057E4:
000057E4 2F03 move.l -[A7], D3
000057E6 A8D9 syscall DisposRgn/DisposeRgn
label000057E8:
000057E8 4E75 rts
fn000057EA:
000057EA 7204 moveq.l D1, 0x04
000057EC 2052 movea.l A0, [A2]
000057EE 2028 0024 move.l D0, [A0 + 0x24]
000057F2 41E8 0008 lea.l A0, [A0 + 0x8]
000057F6 672A beq +0x2C /* 00005822 */
000057F8 2F09 move.l -[A7], A1
000057FA 43ED F626 lea.l A1, [A5 - 0x9DA]
000057FE 22D8 move.l [A1]+, [A0]+
00005800 22D8 move.l [A1]+, [A0]+
00005802 2049 movea.l A0, A1
00005804 5188 subq.l A0, 8
00005806 225F movea.l A1, [A7]+
00005808 0280 E000 7FFF andi.l D0, 0xE0007FFF
0000580E 0C80 0000 005A cmpi.l D0, 0x5A /* 'Z' */
00005814 660C bne +0xE /* 00005822 */
00005816 9358 sub.w [A0]+, D1
00005818 9358 sub.w [A0]+, D1
0000581A D358 add.w [A0]+, D1
0000581C D358 add.w [A0]+, D1
0000581E 5188 subq.l A0, 8
00005820 70FF moveq.l D0, 0xFFFFFFFF
label00005822:
00005822 4E75 rts
fn00005824:
00005824 61C4 bsr -0x3A /* 000057EA */
00005826 6706 beq +0x8 /* 0000582E */
00005828 2F03 move.l -[A7], D3
0000582A 4850 pea.l [A0]
0000582C 6012 bra +0x14 /* 00005840 */
label0000582E:
0000582E 4E75 rts
fn00005830:
00005830 2452 movea.l A2, [A2]
00005832 206A 0008 movea.l A0, [A2 + 0x8]
00005836 6100 F796 bsr -0x868 /* 00004FCE */
0000583A 2F03 move.l -[A7], D3
0000583C 486D F610 pea.l [A5 - 0x9F0]
label00005840:
00005840 A8DF syscall RectRgn
00005842 2F04 move.l -[A7], D4
00005844 2F03 move.l -[A7], D3
00005846 2F04 move.l -[A7], D4
00005848 A8E5 syscall UnionRgn
0000584A 4E75 rts
fn0000584C:
0000584C 48E7 1820 movem.l -[A7], D3,D4,A2
00005850 6100 FF5C bsr -0xA2 /* 000057AE */
00005854 6716 beq +0x18 /* 0000586C */
00005856 61D8 bsr -0x26 /* 00005830 */
00005858 600E bra +0x10 /* 00005868 */
fn0000585A:
0000585A 48E7 1820 movem.l -[A7], D3,D4,A2
0000585E 6100 FF4E bsr -0xB0 /* 000057AE */
00005862 6708 beq +0xA /* 0000586C */
00005864 6100 FF2C bsr -0xD2 /* 00005792 */
label00005868:
00005868 2F03 move.l -[A7], D3
0000586A A8D9 syscall DisposRgn/DisposeRgn
label0000586C:
0000586C 4CDF 0418 movem.l D3,D4,A2, [A7]+
00005870 4E75 rts
fn00005872:
00005872 6100 F11A bsr -0xEE4 /* 0000498E */
00005876 6718 beq +0x1A /* 00005890 */
00005878 E949 lsl D1.w, 4
0000587A 41F1 100C lea.l A0, [A1 + D1.w + 0xC]
0000587E 2010 move.l D0, [A0]
00005880 670E beq +0x10 /* 00005890 */
00005882 0C80 FFFF FFFF cmpi.l D0, 0xFFFFFFFF
00005888 6706 beq +0x8 /* 00005890 */
0000588A 4290 clr.l [A0]
0000588C 2F00 move.l -[A7], D0
0000588E A8D9 syscall DisposRgn/DisposeRgn
label00005890:
00005890 4E75 rts
fn00005892:
00005892 487A 02AE pea.l [PC + 0x2AE /* 00005B42, value 0x0 */]
00005896 A87B syscall ClipRect
00005898 4E75 rts
fn0000589A:
0000589A 42A7 clr.l -[A7]
0000589C 2F3C 546F 6C7A move.l -[A7], 0x546F6C7A /* 'Tolz' */
000058A2 0C40 4000 cmpi.w D0, 0x4000 /* '@\0' */
000058A6 6606 bne +0x8 /* 000058AE */
000058A8 2EBC 546D 6772 move.l [A7], 0x546D6772 /* 'Tmgr' */
label000058AE:
000058AE 3F00 move.w -[A7], D0
000058B0 A9A0 syscall GetResource
000058B2 201F move.l D0, [A7]+
000058B4 670C beq +0xE /* 000058C2 */
000058B6 2040 movea.l A0, D0
000058B8 A029 syscall HLock
000058BA A04A syscall HNoPurge
000058BC 2008 move.l D0, A0
000058BE 4A80 tst.l D0
000058C0 2050 movea.l A0, [A0]
label000058C2:
000058C2 4E75 rts
fn000058C4:
000058C4 48E7 FFF0 movem.l -[A7], D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3
000058C8 660E bne +0x10 /* 000058D8 */
000058CA 4EAD 135A jsr [A5 + 0x135A /* export_615 */]
000058CE 41ED 154A lea.l A0, [A5 + 0x154A /* export_677 */]
000058D2 2B48 F734 move.l [A5 - 0x8CC], A0
000058D6 600C bra +0xE /* 000058E4 */
label000058D8:
000058D8 61C0 bsr -0x3E /* 0000589A */
000058DA 6708 beq +0xA /* 000058E4 */
000058DC 2F00 move.l -[A7], D0
000058DE 7402 moveq.l D2, 0x02
000058E0 4E90 jsr [A0]
000058E2 A9A3 syscall ReleaseResource
label000058E4:
000058E4 4CDF 0FFF movem.l D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3, [A7]+
000058E8 4E75 rts
000058EA 48E7 FFFE movem.l -[A7], D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4,A5,A6
000058EE 1F2D F64B move.b -[A7], [A5 - 0x9B5]
000058F2 422D F64B clr.b [A5 - 0x9B5]
000058F6 598F subq.l A7, 4
000058F8 2F0F move.l -[A7], A7
000058FA A874 syscall GetPort
000058FC 2C6D F758 movea.l A6, [A5 - 0x8A8]
00005900 202D F5D2 move.l D0, [A5 - 0xA2E]
00005904 6706 beq +0x8 /* 0000590C */
00005906 2040 movea.l A0, D0
00005908 4E90 jsr [A0]
0000590A 602C bra +0x2E /* 00005938 */
label0000590C:
0000590C 558F subq.l A7, 2
0000590E 3F3C 0028 move.w -[A7], 0x28 /* '(' */
00005912 486D F71A pea.l [A5 - 0x8E6]
00005916 A971 syscall EventAvail
00005918 4A1F tst.b [A7]+
0000591A 671C beq +0x1E /* 00005938 */
0000591C 0C2D 002E F71F cmpi.b [A5 - 0x8E1], 0x2E /* '.' */
00005922 6614 bne +0x16 /* 00005938 */
00005924 082D 0000 F728 btst.b [A5 - 0x8D8], 0x0
0000592A 670C beq +0xE /* 00005938 */
0000592C 3F3C 0080 move.w -[A7], 0x80
00005930 2F3C C000 0200 move.l -[A7], 0xC0000200
00005936 A8FD syscall PrGlue
label00005938:
00005938 A873 syscall SetPort
0000593A 1B5F F64B move.b [A5 - 0x9B5], [A7]+
0000593E 4CDF 7FFF movem.l D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4,A5,A6, [A7]+
00005942 4E75 rts
fn00005944:
00005944 7200 moveq.l D1, 0x00
00005946 3203 move.w D1, D3
00005948 602E bra +0x30 /* 00005978 */
fn0000594A:
0000594A 7202 moveq.l D1, 0x02
0000594C 602A bra +0x2C /* 00005978 */
fn0000594E:
0000594E 7203 moveq.l D1, 0x03
00005950 6026 bra +0x28 /* 00005978 */
fn00005952:
00005952 7204 moveq.l D1, 0x04
00005954 6022 bra +0x24 /* 00005978 */
fn00005956:
00005956 48E7 FFF0 movem.l -[A7], D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3
0000595A 7205 moveq.l D1, 0x05
0000595C 611A bsr +0x1C /* 00005978 */
0000595E 4CDF 0FFF movem.l D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3, [A7]+
00005962 4E75 rts
fn00005964:
00005964 7206 moveq.l D1, 0x06
00005966 6010 bra +0x12 /* 00005978 */
fn00005968:
00005968 48E7 FFF0 movem.l -[A7], D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3
0000596C 7209 moveq.l D1, 0x09
0000596E 6108 bsr +0xA /* 00005978 */
00005970 4CDF 0FFF movem.l D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3, [A7]+
00005974 4E75 rts
fn00005976:
00005976 7201 moveq.l D1, 0x01
fn00005978:
00005978 0081 0016 0000 ori.l D1, 0x160000
fn0000597E:
0000597E 4A2D F73A tst.b [A5 - 0x8C6]
00005982 670E beq +0x10 /* 00005992 */
00005984 7002 moveq.l D0, 0x02
00005986 48E7 3F30 movem.l -[A7], D2,D3,D4,D5,D6,D7,A2,A3
0000598A 6100 EE1A bsr -0x11E4 /* 000047A6 */
0000598E 4CDF 0CFC movem.l D2,D3,D4,D5,D6,D7,A2,A3, [A7]+
label00005992:
00005992 4E75 rts
00005994 7A00 moveq.l D5, 0x00
00005996 6100 F662 bsr -0x99C /* 00004FFA */
0000599A 6700 008C beq +0x8E /* 00005A28 */
0000599E 2068 0008 movea.l A0, [A0 + 0x8]
000059A2 2448 movea.l A2, A0
000059A4 2050 movea.l A0, [A0]
000059A6 2828 003E move.l D4, [A0 + 0x3E]
000059AA 7600 moveq.l D3, 0x00
000059AC 3628 003C move.w D3, [A0 + 0x3C]
000059B0 2003 move.l D0, D3
000059B2 5480 addq.l D0, 2
000059B4 2E00 move.l D7, D0
000059B6 A122 syscall NewHandle, flags=1
000059B8 2A08 move.l D5, A0
000059BA 2250 movea.l A1, [A0]
000059BC 2044 movea.l A0, D4
000059BE 2050 movea.l A0, [A0]
000059C0 2003 move.l D0, D3
000059C2 32C3 move.w [A1]+, D3
000059C4 A02E syscall BlockMove/BlockMoveData
000059C6 2052 movea.l A0, [A2]
000059C8 3828 0038 move.w D4, [A0 + 0x38]
000059CC 2C28 0020 move.l D6, [A0 + 0x20]
000059D0 3F28 0000 move.w -[A7], [A0 + 0x0]
000059D4 487A 0174 pea.l [PC + 0x174 /* 00005B4A, value 0x0 */]
000059D8 A87B syscall ClipRect
000059DA 6100 F3B2 bsr -0xC4C /* 00004D8E */
000059DE 42A7 clr.l -[A7]
000059E0 2F0A move.l -[A7], A2
000059E2 3F3C 0006 move.w -[A7], 0x6
000059E6 A83D syscall TEDispatch
000059E8 2052 movea.l A0, [A2]
000059EA 261F move.l D3, [A7]+
000059EC 2006 move.l D0, D6
000059EE 4840 swap.w D0
000059F0 48C0 ext.l D0
000059F2 2F00 move.l -[A7], D0
000059F4 48C6 ext.l D6
000059F6 2F06 move.l -[A7], D6
000059F8 2F0A move.l -[A7], A2
000059FA A9D1 syscall TESetSelect
000059FC 2052 movea.l A0, [A2]
000059FE 3144 0038 move.w [A0 + 0x38], D4
00005A02 315F 0000 move.w [A0 + 0x0], [A7]+
00005A06 6100 FCDC bsr -0x322 /* 000056E4 */
00005A0A 2052 movea.l A0, [A2]
00005A0C 2C03 move.l D6, D3
00005A0E 6718 beq +0x1A /* 00005A28 */
00005A10 2046 movea.l A0, D6
00005A12 A025 syscall GetHandleSize
00005A14 2800 move.l D4, D0
00005A16 D087 add.l D0, D7
00005A18 2045 movea.l A0, D5
00005A1A A024 syscall SetHandleSize
00005A1C 2250 movea.l A1, [A0]
00005A1E 2046 movea.l A0, D6
00005A20 2050 movea.l A0, [A0]
00005A22 D3C7 add.l A1, D7
00005A24 2004 move.l D0, D4
00005A26 A02E syscall BlockMove/BlockMoveData
label00005A28:
00005A28 225F movea.l A1, [A7]+
00005A2A 205F movea.l A0, [A7]+
00005A2C 2085 move.l [A0], D5
00005A2E 4ED1 jmp [A1]
fn00005A30:
00005A30 95CA sub.l A2, A2
00005A32 43FA 0116 lea.l A1, [PC + 0x116 /* 00005B4A, value 0x0 */]
00005A36 7200 moveq.l D1, 0x00
00005A38 2008 move.l D0, A0
00005A3A 6734 beq +0x36 /* 00005A70 */
00005A3C A029 syscall HLock
00005A3E A025 syscall GetHandleSize
00005A40 2250 movea.l A1, [A0]
00005A42 2200 move.l D1, D0
00005A44 7000 moveq.l D0, 0x00
00005A46 3019 move.w D0, [A1]+
00005A48 5581 subq.l D1, 2
00005A4A B280 cmp.l D1, D0
00005A4C 671C beq +0x1E /* 00005A6A */
00005A4E 2F08 move.l -[A7], A0
00005A50 2049 movea.l A0, A1
00005A52 D1C0 add.l A0, D0
00005A54 9280 sub.l D1, D0
00005A56 2001 move.l D0, D1
00005A58 48E7 8080 movem.l -[A7], D0,A0
00005A5C A122 syscall NewHandle, flags=1
00005A5E 2448 movea.l A2, A0
00005A60 2252 movea.l A1, [A2]
00005A62 4CDF 0101 movem.l D0,A0, [A7]+
00005A66 A02E syscall BlockMove/BlockMoveData
00005A68 205F movea.l A0, [A7]+
label00005A6A:
00005A6A 2250 movea.l A1, [A0]
00005A6C 7200 moveq.l D1, 0x00
00005A6E 3219 move.w D1, [A1]+
label00005A70:
00005A70 4E75 rts
fn00005A72:
00005A72 4A2D F538 tst.b [A5 - 0xAC8]
00005A76 660E bne +0x10 /* 00005A86 */
00005A78 486D F614 pea.l [A5 - 0x9EC]
00005A7C 486D F566 pea.l [A5 - 0xA9A]
00005A80 486D F678 pea.l [A5 - 0x988]
00005A84 A8F9 syscall MapPt
label00005A86:
00005A86 4E75 rts
fn00005A88:
00005A88 4A2D F538 tst.b [A5 - 0xAC8]
00005A8C 660E bne +0x10 /* 00005A9C */
00005A8E 486D F610 pea.l [A5 - 0x9F0]
00005A92 486D F566 pea.l [A5 - 0xA9A]
00005A96 486D F678 pea.l [A5 - 0x988]
00005A9A A8F9 syscall MapPt
label00005A9C:
00005A9C 4E75 rts
fn00005A9E:
00005A9E 206D F5F6 movea.l A0, [A5 - 0xA0A]
00005AA2 2250 movea.l A1, [A0]
00005AA4 3029 0024 move.w D0, [A1 + 0x24]
00005AA8 674C beq +0x4E /* 00005AF6 */
00005AAA 41E9 0028 lea.l A0, [A1 + 0x28]
00005AAE 0C58 06FF cmpi.w [A0]+, 0x6FF
00005AB2 6642 bne +0x44 /* 00005AF6 */
00005AB4 48E7 FFF8 movem.l -[A7], D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4
00005AB8 2450 movea.l A2, [A0]
00005ABA 4267 clr.w -[A7]
00005ABC 2F2D F5F6 move.l -[A7], [A5 - 0xA0A]
00005AC0 A960 syscall GetControlValue/GetCtlValue
00005AC2 341F move.w D2, [A7]+
00005AC4 5342 subq.w D2, 1
00005AC6 6A02 bpl +0x4 /* 00005ACA */
00005AC8 7400 moveq.l D2, 0x00
label00005ACA:
00005ACA 2252 movea.l A1, [A2]
00005ACC 3629 0008 move.w D3, [A1 + 0x8]
00005AD0 9669 0000 sub.w D3, [A1 + 0x0]
00005AD4 2269 004A movea.l A1, [A1 + 0x4A]
00005AD8 2251 movea.l A1, [A1]
00005ADA 2269 0008 movea.l A1, [A1 + 0x8]
00005ADE 2251 movea.l A1, [A1]
00005AE0 6004 bra +0x6 /* 00005AE6 */
label00005AE2:
00005AE2 9659 sub.w D3, [A1]+
00005AE4 5489 addq.l A1, 2
label00005AE6:
00005AE6 51CA FFFA dbf D2, -0x8 /* 00005AE2 */
00005AEA 4267 clr.w -[A7]
00005AEC 3F03 move.w -[A7], D3
00005AEE 2F0A move.l -[A7], A2
00005AF0 A9DD syscall TEScroll
00005AF2 4CDF 1FFF movem.l D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4, [A7]+
label00005AF6:
00005AF6 4E75 rts
00005AF8 207A 0038 movea.l A0, [PC + 0x38 /* 00005B32, value 0x0 */]
00005AFC 4E90 jsr [A0]
00005AFE 40E7 move.w -[A7], SR
00005B00 48E7 FFF8 movem.l -[A7], D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4
00005B04 42A7 clr.l -[A7]
00005B06 A8D8 syscall NewRgn
00005B08 2C1F move.l D6, [A7]+
00005B0A 2F06 move.l -[A7], D6
00005B0C 2F06 move.l -[A7], D6
00005B0E 2F06 move.l -[A7], D6
00005B10 A87A syscall GetClip
00005B12 6100 FD7E bsr -0x280 /* 00005892 */
00005B16 247A 001E movea.l A2, [PC + 0x1E /* 00005B36, value 0x0 */]
00005B1A 6100 C4C2 bsr -0x3B3C /* 00001FDE */
00005B1E A879 syscall SetClip
00005B20 A8D9 syscall DisposRgn/DisposeRgn
00005B22 4CDF 1FFF movem.l D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3,A4, [A7]+
00005B26 44DF move.b [A7]+, CCR
00005B28 4E75 rts
00005B2A 8004 or.b D0, D4
00005B2C 416E 6479 chk.w D0, [A6 + 0x6479]
00005B30 0000 0000 ori.b D0, 0x0
00005B34 0000 0000 ori.b D0, 0x0
00005B38 0000 002B ori.b D0, 0x2B /* '+' */
00005B3C 0004 0150 ori.b D4, 0x50 /* 'P' */
00005B40 01FA 0000 bset [PC /* 00005B42 */], D0
00005B44 0000 1FFF ori.b D0, 0xFF
00005B48 1FFF move.b <<invalid special address>>, <<invalid special address>>
00005B4A 0000 0000 ori.b D0, 0x0
00005B4E 0001 0001 ori.b D1, 0x1
00005B52 1250 movea.b A1, [A0]
00005B54 7269 moveq.l D1, 0x69
00005B56 6E74 bgt +0x76 /* 00005BCC */
00005B58 6572 bcs +0x74 /* 00005BCC */
00005B5A 2046 movea.l A0, D6
00005B5C 696C bvs +0x6E /* 00005BCA */
00005B5E 6520 bcs +0x22 /* 00005B80 */
00005B60 4572 726F chk.w D2, [A2 + D7.w * 2 + 0x6F]
00005B64 7200 moveq.l D1, 0x00
00005B66 1453 movea.b A2, [A3]
00005B68 6567 bcs +0x69 /* 00005BD1 */
00005B6A 6D65 blt +0x67 /* 00005BD1 */
00005B6C 6E74 bgt +0x76 /* 00005BE2 */
00005B6E 2055 movea.l A0, [A5]
00005B70 6E6C bgt +0x6E /* 00005BDE */
00005B72 6F61 ble +0x63 /* 00005BD5 */
00005B74 6420 bcc +0x22 /* 00005B96 */
00005B76 4572 726F chk.w D2, [A2 + D7.w * 2 + 0x6F]
00005B7A 7200 moveq.l D1, 0x00
00005B7C 0228 2D00 0000 andi.b [A0 + 0x0], 0x0
// begin alternate branch 00005B80-00005B86
label00005B80:
00005B80 0000 206D ori.b D0, 0x6D /* 'm' */
export_36: // at 00005B82 (misaligned)
fn00005B82: // (misaligned)
00005B84 FDD2 .extension 0xDD2 // unimplemented
// end alternate branch 00005B80-00005B86
export_36:
label00005B80: // (misaligned)
fn00005B82:
00005B82 206D FDD2 movea.l A0, [A5 - 0x22E]
00005B86 3E18 move.w D7, [A0]+
00005B88 7000 moveq.l D0, 0x00
00005B8A 3018 move.w D0, [A0]+
00005B8C 0440 8000 subi.w D0, 0x8000
00005B90 6B5E bmi +0x60 /* 00005BF0 */
00005B92 0C40 000A cmpi.w D0, 0xA /* '\n' */
label00005B96:
00005B96 644A bcc +0x4C /* 00005BE2 */
00005B98 5488 addq.l A0, 2
00005B9A 3600 move.w D3, D0
00005B9C 0243 0003 andi.w D3, 0x3
00005BA0 E448 lsr D0.w, 2
00005BA2 670A beq +0xC /* 00005BAE */
00005BA4 5340 subq.w D0, 1
00005BA6 6704 beq +0x6 /* 00005BAC */
00005BA8 7000 moveq.l D0, 0x00
00005BAA 610E bsr +0x10 /* 00005BBA */
label00005BAC:
00005BAC 610C bsr +0xE /* 00005BBA */
label00005BAE:
00005BAE 3403 move.w D2, D3
00005BB0 610A bsr +0xC /* 00005BBC */
00005BB2 4A47 tst.w D7
00005BB4 6702 beq +0x4 /* 00005BB8 */
00005BB6 4480 neg.l D0
label00005BB8:
00005BB8 4E75 rts
fn00005BBA:
00005BBA 7403 moveq.l D2, 0x03
fn00005BBC:
00005BBC 3218 move.w D1, [A0]+
00005BBE 4841 swap.w D1
label00005BC0:
00005BC0 E999 rol D1, 4
00005BC2 0241 000F andi.w D1, 0xF
00005BC6 D080 add.l D0, D0
00005BC8 2800 move.l D4, D0
label00005BCA:
00005BCA E588 lsl D0, 2
label00005BCC:
00005BCC D084 add.l D0, D4
00005BCE D041 add.w D0, D1
00005BD0 55CA FFEE dbcs D2, -0x14 /* 00005BC0 */
00005BD4 640A bcc +0xC /* 00005BE0 */
00005BD6 0680 0001 0000 addi.l D0, 0x10000
00005BDC 51CA FFE2 dbf D2, -0x20 /* 00005BC0 */
// begin alternate branch 00005BDE-00005BE0
label00005BDE:
00005BDE FFE2 .extension 0xFE2 // unimplemented
// end alternate branch 00005BDE-00005BE0
label00005BDE: // (misaligned)
label00005BE0:
00005BE0 4E75 rts
label00005BE2:
00005BE2 203C 7FFF FFFF move.l D0, 0x7FFFFFFF
00005BE8 4A47 tst.w D7
00005BEA 6702 beq +0x4 /* 00005BEE */
00005BEC 5280 addq.l D0, 1
label00005BEE:
00005BEE 4E75 rts
label00005BF0:
00005BF0 7000 moveq.l D0, 0x00
label00005BF2:
00005BF2 4E75 rts
export_30:
fn00005BF4:
00005BF4 4EBA 04CA jsr [PC + 0x4CA /* 000060C0 */]
00005BF8 206D FDD2 movea.l A0, [A5 - 0x22E]
00005BFC 4A80 tst.l D0
00005BFE 67F2 beq -0xC /* 00005BF2 */
00005C00 6A06 bpl +0x8 /* 00005C08 */
00005C02 30BC 8000 move.w [A0], 0x8000
00005C06 4480 neg.l D0
label00005C08:
00005C08 5488 addq.l A0, 2
00005C0A 43FA B086 lea.l A1, [PC - 0x4F7A /* 00000C92, value 0x3B9ACA00 */]
00005C0E 323C 8009 move.w D1, 0x8009
label00005C12:
00005C12 2419 move.l D2, [A1]+
00005C14 B082 cmp.l D0, D2
00005C16 54C9 FFFA dbcc D1, -0x8 /* 00005C12 */
00005C1A 3081 move.w [A0], D1
00005C1C 5888 addq.l A0, 4
label00005C1E:
00005C1E 7603 moveq.l D3, 0x03
00005C20 4244 clr.w D4
label00005C22:
00005C22 E94C lsl D4.w, 4
label00005C24:
00005C24 5244 addq.w D4, 1
00005C26 9082 sub.l D0, D2
00005C28 64FA bcc -0x4 /* 00005C24 */
00005C2A D082 add.l D0, D2
00005C2C 5344 subq.w D4, 1
00005C2E 2419 move.l D2, [A1]+
00005C30 57CB FFF0 dbeq D3, -0x12 /* 00005C22 */
00005C34 6706 beq +0x8 /* 00005C3C */
00005C36 30C4 move.w [A0]+, D4
00005C38 60E4 bra -0x1A /* 00005C1E */
label00005C3A:
00005C3A E98C lsl D4, 4
label00005C3C:
00005C3C 51CB FFFC dbf D3, -0x6 /* 00005C3A */
00005C40 3084 move.w [A0], D4
00005C42 4E75 rts
00005C44 4EBA 0264 jsr [PC + 0x264 /* 00005EAA */]
00005C48 206D FDDE movea.l A0, [A5 - 0x222]
00005C4C 5288 addq.l A0, 1
00005C4E 2F08 move.l -[A7], A0
00005C50 6124 bsr +0x26 /* 00005C76 */
00005C52 2608 move.l D3, A0
00005C54 205F movea.l A0, [A7]+
00005C56 9688 sub.l D3, A0
00005C58 0C43 00FF cmpi.w D3, 0xFF
00005C5C 6410 bcc +0x12 /* 00005C6E */
00005C5E 11BC 0020 3000 move.b [A0 + D3.w], 0x20 /* ' ' */
00005C64 5388 subq.l A0, 1
00005C66 5243 addq.w D3, 1
00005C68 1083 move.b [A0], D3
00005C6A 4EFA B6AE jmp [PC - 0x4952 /* 0000131A */]
label00005C6E:
00005C6E 4EBA B6FC jsr [PC - 0x4904 /* 0000136C */]
00005C72 4EFA C780 jmp [PC - 0x3880 /* 000023F4 */]
fn00005C76:
00005C76 10BC 0020 move.b [A0], 0x20 /* ' ' */
00005C7A 117C 0030 0001 move.b [A0 + 0x1], 0x30 /* '0' */
00005C80 226D FDD2 movea.l A1, [A5 - 0x22E]
00005C84 4A69 0006 tst.w [A1 + 0x6]
00005C88 6604 bne +0x6 /* 00005C8E */
00005C8A 5488 addq.l A0, 2
00005C8C 4E75 rts
label00005C8E:
00005C8E 103C 0020 move.b D0, 0x20 /* ' ' */
00005C92 4A59 tst.w [A1]+
00005C94 6A04 bpl +0x6 /* 00005C9A */
00005C96 103C 002D move.b D0, 0x2D /* '-' */
label00005C9A:
00005C9A 10C0 move.b [A0]+, D0
00005C9C 302D FDA2 move.w D0, [A5 - 0x25E]
00005CA0 45F1 0003 lea.l A2, [A1 + D0.w + 0x3]
00005CA4 382D FDAE move.w D4, [A5 - 0x252]
00005CA8 5844 addq.w D4, 4
label00005CAA:
00005CAA 5944 subq.w D4, 4
00005CAC 3222 move.w D1, -[A2]
00005CAE 67FA beq -0x4 /* 00005CAA */
00005CB0 4841 swap.w D1
00005CB2 4241 clr.w D1
label00005CB4:
00005CB4 5344 subq.w D4, 1
00005CB6 E899 ror D1, 4
00005CB8 4A41 tst.w D1
00005CBA 67F8 beq -0x6 /* 00005CB4 */
00005CBC 3019 move.w D0, [A1]+
00005CBE 5489 addq.l A1, 2
00005CC0 3619 move.w D3, [A1]+
00005CC2 4843 swap.w D3
00005CC4 7403 moveq.l D2, 0x03
00005CC6 0440 8000 subi.w D0, 0x8000
00005CCA 6B0E bmi +0x10 /* 00005CDA */
00005CCC 0C40 000B cmpi.w D0, 0xB
00005CD0 6A28 bpl +0x2A /* 00005CFA */
00005CD2 B044 cmp.w D0, D4
00005CD4 6518 bcs +0x1A /* 00005CEE */
00005CD6 3800 move.w D4, D0
00005CD8 6014 bra +0x16 /* 00005CEE */
label00005CDA:
00005CDA 0C40 FFFE cmpi.w D0, 0xFFFE
00005CDE 6D1A blt +0x1C /* 00005CFA */
00005CE0 10FC 002E move.b [A0]+, 0x2E /* '.' */
00005CE4 5240 addq.w D0, 1
00005CE6 6704 beq +0x6 /* 00005CEC */
00005CE8 10FC 0030 move.b [A0]+, 0x30 /* '0' */
label00005CEC:
00005CEC 70FE moveq.l D0, 0xFFFFFFFE
label00005CEE:
00005CEE 6132 bsr +0x34 /* 00005D22 */
00005CF0 51CC FFFC dbf D4, -0x6 /* 00005CEE */
00005CF4 10BC 0000 move.b [A0], 0x0
00005CF8 4E75 rts
label00005CFA:
00005CFA 3F00 move.w -[A7], D0
00005CFC 7000 moveq.l D0, 0x00
label00005CFE:
00005CFE 6122 bsr +0x24 /* 00005D22 */
00005D00 51CC FFFC dbf D4, -0x6 /* 00005CFE */
label00005D04:
00005D04 10FC 0045 move.b [A0]+, 0x45 /* 'E' */
00005D08 301F move.w D0, [A7]+
00005D0A 722B moveq.l D1, 0x2B
00005D0C 48C0 ext.l D0
00005D0E 6A04 bpl +0x6 /* 00005D14 */
00005D10 722D moveq.l D1, 0x2D
00005D12 4480 neg.l D0
label00005D14:
00005D14 10C1 move.b [A0]+, D1
00005D16 7208 moveq.l D1, 0x08
00005D18 4EBA AFB4 jsr [PC - 0x504C /* 00000CCE */]
00005D1C 10BC 0000 move.b [A0], 0x0
00005D20 4E75 rts
fn00005D22:
00005D22 0C40 FFFF cmpi.w D0, 0xFFFF
00005D26 6604 bne +0x6 /* 00005D2C */
00005D28 10FC 002E move.b [A0]+, 0x2E /* '.' */
label00005D2C:
00005D2C 363C 0003 move.w D3, 0x3
00005D30 E99B rol D3, 4
00005D32 10C3 move.b [A0]+, D3
00005D34 51CA 0008 dbf D2, +0xA /* 00005D3E */
00005D38 3619 move.w D3, [A1]+
00005D3A 4843 swap.w D3
00005D3C 7403 moveq.l D2, 0x03
label00005D3E:
00005D3E 5340 subq.w D0, 1
00005D40 4E75 rts
fn00005D42:
00005D42 1018 move.b D0, [A0]+
00005D44 0C00 0020 cmpi.b D0, 0x20 /* ' ' */
00005D48 67F8 beq -0x6 /* 00005D42 */
00005D4A 0C00 002B cmpi.b D0, 0x2B /* '+' */
00005D4E 670E beq +0x10 /* 00005D5E */
00005D50 0C00 002D cmpi.b D0, 0x2D /* '-' */
00005D54 6606 bne +0x8 /* 00005D5C */
00005D56 303C 8000 move.w D0, 0x8000
00005D5A 4E75 rts
label00005D5C:
00005D5C 5388 subq.l A0, 1
label00005D5E:
00005D5E 4280 clr.l D0
00005D60 4E75 rts
export_53:
00005D62 43ED FDFC lea.l A1, [A5 - 0x204]
00005D66 7000 moveq.l D0, 0x00
00005D68 1018 move.b D0, [A0]+
label00005D6A:
00005D6A 12D8 move.b [A1]+, [A0]+
00005D6C 51C8 FFFC dbf D0, -0x6 /* 00005D6A */
00005D70 4221 clr.b -[A1]
00005D72 41ED FDFC lea.l A0, [A5 - 0x204]
00005D76 0C10 0026 cmpi.b [A0], 0x26 /* '&' */
00005D7A 6608 bne +0xA /* 00005D84 */
00005D7C 4EBA AFBA jsr [PC - 0x5046 /* 00000D38 */]
00005D80 6000 FE72 bra -0x18C /* 00005BF4 */
fn00005D84:
00005D84 4EBA 033A jsr [PC + 0x33A /* 000060C0 */]
00005D88 61B8 bsr -0x46 /* 00005D42 */
00005D8A 226D FDD2 movea.l A1, [A5 - 0x22E]
00005D8E 32C0 move.w [A1]+, D0
00005D90 2649 movea.l A3, A1
00005D92 32FC FFFF move.w [A1]+, 0xFFFF
00005D96 4259 clr.w [A1]+
00005D98 4240 clr.w D0
00005D9A 7200 moveq.l D1, 0x00
00005D9C 7600 moveq.l D3, 0x00
label00005D9E:
00005D9E 4241 clr.w D1
00005DA0 7403 moveq.l D2, 0x03
label00005DA2:
00005DA2 1018 move.b D0, [A0]+
00005DA4 B02D FDEA cmp.b D0, [A5 - 0x216]
00005DA8 6706 beq +0x8 /* 00005DB0 */
00005DAA 0C00 002E cmpi.b D0, 0x2E /* '.' */
00005DAE 6606 bne +0x8 /* 00005DB6 */
label00005DB0:
00005DB0 08C1 0014 bset.b D1, 0x14
00005DB4 60EC bra -0x12 /* 00005DA2 */
label00005DB6:
00005DB6 0C00 0045 cmpi.b D0, 0x45 /* 'E' */
00005DBA 673A beq +0x3C /* 00005DF6 */
00005DBC 0C00 0044 cmpi.b D0, 0x44 /* 'D' */
00005DC0 6734 beq +0x36 /* 00005DF6 */
00005DC2 0C00 0065 cmpi.b D0, 0x65 /* 'e' */
00005DC6 672E beq +0x30 /* 00005DF6 */
00005DC8 0C00 0064 cmpi.b D0, 0x64 /* 'd' */
00005DCC 6728 beq +0x2A /* 00005DF6 */
00005DCE 0400 0030 subi.b D0, 0x30 /* '0' */
00005DD2 6534 bcs +0x36 /* 00005E08 */
00005DD4 0C00 000A cmpi.b D0, 0xA /* '\n' */
00005DD8 642E bcc +0x30 /* 00005E08 */
00005DDA E949 lsl D1.w, 4
00005DDC 8240 or.w D1, D0
00005DDE 0801 0014 btst.b D1, 0x14
00005DE2 6602 bne +0x4 /* 00005DE6 */
00005DE4 5253 addq.w [A3], 1
label00005DE6:
00005DE6 51CA FFBA dbf D2, -0x48 /* 00005DA2 */
00005DEA 8641 or.w D3, D1
00005DEC 6604 bne +0x6 /* 00005DF2 */
00005DEE 5953 subq.w [A3], 4
00005DF0 60AC bra -0x52 /* 00005D9E */
label00005DF2:
00005DF2 32C1 move.w [A1]+, D1
00005DF4 60A8 bra -0x56 /* 00005D9E */
label00005DF6:
00005DF6 E949 lsl D1.w, 4
00005DF8 51CA FFFC dbf D2, -0x6 /* 00005DF6 */
00005DFC 3281 move.w [A1], D1
00005DFE 2F0B move.l -[A7], A3
00005E00 4EBA AF36 jsr [PC - 0x50CA /* 00000D38 */]
00005E04 265F movea.l A3, [A7]+
00005E06 600C bra +0xE /* 00005E14 */
label00005E08:
00005E08 E949 lsl D1.w, 4
00005E0A 51CA FFFC dbf D2, -0x6 /* 00005E08 */
00005E0E 3281 move.w [A1], D1
00005E10 7000 moveq.l D0, 0x00
00005E12 5388 subq.l A0, 1
label00005E14:
00005E14 0640 8000 addi.w D0, 0x8000
00005E18 D153 add.w [A3], D0
00005E1A 2F08 move.l -[A7], A0
00005E1C 4EBA 0006 jsr [PC + 0x6 /* 00005E24 */]
00005E20 205F movea.l A0, [A7]+
00005E22 4E75 rts
fn00005E24:
00005E24 246D FDD2 movea.l A2, [A5 - 0x22E]
00005E28 204A movea.l A0, A2
00005E2A 548A addq.l A2, 2
00005E2C 5888 addq.l A0, 4
00005E2E 4A58 tst.w [A0]+
00005E30 6718 beq +0x1A /* 00005E4A */
00005E32 5852 addq.w [A2], 4
00005E34 302D FDA8 move.w D0, [A5 - 0x258]
00005E38 5240 addq.w D0, 1
00005E3A 2648 movea.l A3, A0
00005E3C D6C0 add.w A3, D0
00005E3E D6C0 add.w A3, D0
label00005E40:
00005E40 3763 0002 move.w [A3 + 0x2], -[A3]
00005E44 51C8 FFFA dbf D0, -0x8 /* 00005E40 */
00005E48 4253 clr.w [A3]
label00005E4A:
00005E4A 3010 move.w D0, [A0]
00005E4C 6628 bne +0x2A /* 00005E76 */
00005E4E 302D FDA8 move.w D0, [A5 - 0x258]
00005E52 5240 addq.w D0, 1
label00005E54:
00005E54 4A58 tst.w [A0]+
00005E56 660A bne +0xC /* 00005E62 */
00005E58 5952 subq.w [A2], 4
00005E5A 51C8 FFF8 dbf D0, -0xA /* 00005E54 */
00005E5E 4EFA 0260 jmp [PC + 0x260 /* 000060C0 */]
label00005E62:
00005E62 43EA 0004 lea.l A1, [A2 + 0x4]
00005E66 5588 subq.l A0, 2
label00005E68:
00005E68 32D0 move.w [A1]+, [A0]
00005E6A 4258 clr.w [A0]+
00005E6C 51C8 FFFA dbf D0, -0x8 /* 00005E68 */
00005E70 41EA 0004 lea.l A0, [A2 + 0x4]
00005E74 3010 move.w D0, [A0]
label00005E76:
00005E76 0C40 1000 cmpi.w D0, 0x1000
00005E7A 643A bcc +0x3C /* 00005EB6 */
00005E7C 7410 moveq.l D2, 0x10
00005E7E 7600 moveq.l D3, 0x00
00005E80 5952 subq.w [A2], 4
label00005E82:
00005E82 5942 subq.w D2, 4
00005E84 5843 addq.w D3, 4
00005E86 5252 addq.w [A2], 1
00005E88 E848 lsr D0.w, 4
00005E8A 66F6 bne -0x8 /* 00005E82 */
00005E8C 2648 movea.l A3, A0
00005E8E 302D FDA8 move.w D0, [A5 - 0x258]
00005E92 5440 addq.w D0, 2
00005E94 D6C0 add.w A3, D0
00005E96 D6C0 add.w A3, D0
00005E98 5488 addq.l A0, 2
00005E9A 7200 moveq.l D1, 0x00
label00005E9C:
00005E9C 3223 move.w D1, -[A3]
00005E9E E5B9 rol D1, D2
00005EA0 3681 move.w [A3], D1
00005EA2 E7B9 rol D1, D3
00005EA4 51C8 FFF6 dbf D0, -0xC /* 00005E9C */
00005EA8 600C bra +0xE /* 00005EB6 */
fn00005EAA:
00005EAA 302D FDA2 move.w D0, [A5 - 0x25E]
fn00005EAE:
00005EAE 142D FDA7 move.b D2, [A5 - 0x259]
00005EB2 5540 subq.w D0, 2
00005EB4 6008 bra +0xA /* 00005EBE */
label00005EB6:
00005EB6 302D FDA2 move.w D0, [A5 - 0x25E]
00005EBA 5340 subq.w D0, 1
00005EBC 7450 moveq.l D2, 0x50
label00005EBE:
00005EBE 246D FDD2 movea.l A2, [A5 - 0x22E]
00005EC2 45F2 0007 lea.l A2, [A2 + D0.w + 0x7]
00005EC6 1212 move.b D1, [A2]
00005EC8 4212 clr.b [A2]
00005ECA C501 abcd D2, D1
00005ECC 6414 bcc +0x16 /* 00005EE2 */
label00005ECE:
00005ECE 47FA 002C lea.l A3, [PC + 0x2C /* 00005EFC, value 0x242DF5DA */]
00005ED2 C50B abcd -[A2], -[A3]
00005ED4 54C8 FFF8 dbcc D0, -0xA /* 00005ECE */
00005ED8 6408 bcc +0xA /* 00005EE2 */
00005EDA 34BC 1000 move.w [A2], 0x1000
00005EDE 598A subq.l A2, 4
00005EE0 5252 addq.w [A2], 1
label00005EE2:
00005EE2 246D FDD2 movea.l A2, [A5 - 0x22E]
00005EE6 548A addq.l A2, 2
00005EE8 3012 move.w D0, [A2]
00005EEA 0C40 BFFF cmpi.w D0, 0xBFFF
00005EEE 640C bcc +0xE /* 00005EFC */
00005EF0 0C40 4000 cmpi.w D0, 0x4000 /* '@\0' */
00005EF4 6500 01CA bcs +0x1CC /* 000060C0 */
00005EF8 4E75 rts
00005EFA 0000 242D ori.b D0, 0x2D /* '-' */
// begin alternate branch 00005EFC-00005F00
label00005EFC:
00005EFC 242D F5DA move.l D2, [A5 - 0xA26]
// end alternate branch 00005EFC-00005F00
label00005EFC: // (misaligned)
00005EFE F5DA .extension 0x5DA // unimplemented
00005F00 6706 beq +0x8 /* 00005F08 */
00005F02 2042 movea.l A0, D2
00005F04 7401 moveq.l D2, 0x01
00005F06 4ED0 jmp [A0]
label00005F08:
00005F08 246D FDD2 movea.l A2, [A5 - 0x22E]
00005F0C 548A addq.l A2, 2
00005F0E 24FC BFFF 0000 move.l [A2]+, 0xBFFF0000
00005F14 3E2D FDA8 move.w D7, [A5 - 0x258]
label00005F18:
00005F18 34FC 9999 move.w [A2]+, 0x9999
00005F1C 51CF FFFA dbf D7, -0x8 /* 00005F18 */
00005F20 4E75 rts
fn00005F22:
00005F22 2F0A move.l -[A7], A2
00005F24 302D FDA4 move.w D0, [A5 - 0x25C]
00005F28 5240 addq.w D0, 1
00005F2A 6182 bsr -0x7C /* 00005EAE */
00005F2C 246D FDD2 movea.l A2, [A5 - 0x22E]
00005F30 45EA 0002 lea.l A2, [A2 + 0x2]
00005F34 302A FFFE move.w D0, [A2 - 0x2]
00005F38 E058 ror D0.w, 8
00005F3A 3212 move.w D1, [A2]
00005F3C 0C41 8040 cmpi.w D1, 0x8040
00005F40 6516 bcs +0x18 /* 00005F58 */
00005F42 0000 003F ori.b D0, 0x3F /* '?' */
00005F46 10C0 move.b [A0]+, D0
00005F48 302D FDA4 move.w D0, [A5 - 0x25C]
00005F4C 5340 subq.w D0, 1
label00005F4E:
00005F4E 10FC 0099 move.b [A0]+, 0x99
00005F52 51C8 FFFA dbf D0, -0x8 /* 00005F4E */
00005F56 6028 bra +0x2A /* 00005F80 */
label00005F58:
00005F58 0C41 7FC0 cmpi.w D1, 0x7FC0
00005F5C 640C bcc +0xE /* 00005F6A */
00005F5E 302D FDA4 move.w D0, [A5 - 0x25C]
label00005F62:
00005F62 4218 clr.b [A0]+
00005F64 51C8 FFFC dbf D0, -0x6 /* 00005F62 */
00005F68 6016 bra +0x18 /* 00005F80 */
label00005F6A:
00005F6A 0201 007F andi.b D1, 0x7F
00005F6E 8001 or.b D0, D1
00005F70 10C0 move.b [A0]+, D0
00005F72 588A addq.l A2, 4
00005F74 302D FDA4 move.w D0, [A5 - 0x25C]
00005F78 5340 subq.w D0, 1
label00005F7A:
00005F7A 10DA move.b [A0]+, [A2]+
00005F7C 51C8 FFFC dbf D0, -0x6 /* 00005F7A */
label00005F80:
00005F80 245F movea.l A2, [A7]+
00005F82 4E75 rts
fn00005F84:
00005F84 265F movea.l A3, [A7]+
00005F86 3E1B move.w D7, [A3]+
00005F88 2F0B move.l -[A7], A3
00005F8A 2475 7000 movea.l A2, [A5 + D7.w]
00005F8E 3E2D FDAC move.w D7, [A5 - 0x254]
00005F92 266D FDD2 movea.l A3, [A5 - 0x22E]
label00005F96:
00005F96 24DB move.l [A2]+, [A3]+
00005F98 51CF FFFC dbf D7, -0x6 /* 00005F96 */
00005F9C 4E75 rts
fn00005F9E:
00005F9E 4EBA 0152 jsr [PC + 0x152 /* 000060F2 */]
fn00005FA2:
00005FA2 265F movea.l A3, [A7]+
00005FA4 3E1B move.w D7, [A3]+
00005FA6 2F0B move.l -[A7], A3
00005FA8 2475 7000 movea.l A2, [A5 + D7.w]
00005FAC 3E2D FDAC move.w D7, [A5 - 0x254]
00005FB0 266D FDD2 movea.l A3, [A5 - 0x22E]
label00005FB4:
00005FB4 26DA move.l [A3]+, [A2]+
00005FB6 51CF FFFC dbf D7, -0x6 /* 00005FB4 */
00005FBA 4E75 rts
fn00005FBC:
00005FBC 2F0A move.l -[A7], A2
00005FBE 6100 FEEA bsr -0x114 /* 00005EAA */
00005FC2 226D FDD2 movea.l A1, [A5 - 0x22E]
00005FC6 3219 move.w D1, [A1]+
00005FC8 3019 move.w D0, [A1]+
00005FCA 0240 7FFF andi.w D0, 0x7FFF
00005FCE 8240 or.w D1, D0
00005FD0 30C1 move.w [A0]+, D1
00005FD2 5489 addq.l A1, 2
00005FD4 302D FDA8 move.w D0, [A5 - 0x258]
label00005FD8:
00005FD8 30D9 move.w [A0]+, [A1]+
00005FDA 51C8 FFFC dbf D0, -0x6 /* 00005FD8 */
00005FDE 245F movea.l A2, [A7]+
00005FE0 4E75 rts
label00005FE2:
00005FE2 3A2D FDA4 move.w D5, [A5 - 0x25C]
00005FE6 5345 subq.w D5, 1
label00005FE8:
00005FE8 4EBA 00D6 jsr [PC + 0xD6 /* 000060C0 */]
00005FEC 226D FDD2 movea.l A1, [A5 - 0x22E]
00005FF0 1018 move.b D0, [A0]+
00005FF2 4A10 tst.b [A0]
00005FF4 6602 bne +0x4 /* 00005FF8 */
00005FF6 4E75 rts
label00005FF8:
00005FF8 4A00 tst.b D0
00005FFA 6A04 bpl +0x6 /* 00006000 */
00005FFC 32BC 8000 move.w [A1], 0x8000
label00006000:
00006000 5489 addq.l A1, 2
00006002 0200 007F andi.b D0, 0x7F
00006006 E300 asl D0.b, 1
00006008 E200 asr D0.b, 1
0000600A 4880 ext.w D0
0000600C 0640 8000 addi.w D0, 0x8000
00006010 3280 move.w [A1], D0
00006012 5889 addq.l A1, 4
label00006014:
00006014 12D8 move.b [A1]+, [A0]+
00006016 51CD FFFC dbf D5, -0x6 /* 00006014 */
0000601A 4E75 rts
export_33:
0000601C 205F movea.l A0, [A7]+
0000601E 3018 move.w D0, [A0]+
00006020 4870 0004 pea.l [A0 + D0.w + 0x4]
00006024 E248 lsr D0.w, 1
00006026 6004 bra +0x6 /* 0000602C */
label00006028:
00006028 302D FDA8 move.w D0, [A5 - 0x258]
label0000602C:
0000602C 4EBA 0092 jsr [PC + 0x92 /* 000060C0 */]
00006030 226D FDD2 movea.l A1, [A5 - 0x22E]
00006034 3218 move.w D1, [A0]+
00006036 4A50 tst.w [A0]
00006038 6602 bne +0x4 /* 0000603C */
0000603A 4E75 rts
label0000603C:
0000603C 2401 move.l D2, D1
0000603E 0241 8000 andi.w D1, 0x8000
00006042 32C1 move.w [A1]+, D1
00006044 E342 asl D2.w, 1
00006046 E242 asr D2.w, 1
00006048 0642 8000 addi.w D2, 0x8000
0000604C 32C2 move.w [A1]+, D2
0000604E 5489 addq.l A1, 2
label00006050:
00006050 32D8 move.w [A1]+, [A0]+
00006052 51C8 FFFC dbf D0, -0x6 /* 00006050 */
00006056 4E75 rts
fn00006058:
00006058 266D FDD6 movea.l A3, [A5 - 0x22A]
0000605C 6004 bra +0x6 /* 00006062 */
export_32:
fn0000605E:
0000605E 266D FDD2 movea.l A3, [A5 - 0x22E]
label00006062:
00006062 3E2D FDAC move.w D7, [A5 - 0x254]
00006066 3C07 move.w D6, D7
00006068 E54E lsl D6.w, 2
0000606A 245F movea.l A2, [A7]+
0000606C 47F3 6004 lea.l A3, [A3 + D6.w + 0x4]
label00006070:
00006070 2F23 move.l -[A7], -[A3]
00006072 51CF FFFC dbf D7, -0x6 /* 00006070 */
00006076 4ED2 jmp [A2]
fn00006078:
00006078 266D FDD2 movea.l A3, [A5 - 0x22E]
0000607C 6004 bra +0x6 /* 00006082 */
export_34:
fn0000607E:
0000607E 266D FDD6 movea.l A3, [A5 - 0x22A]
label00006082:
00006082 245F movea.l A2, [A7]+
00006084 3E2D FDAC move.w D7, [A5 - 0x254]
label00006088:
00006088 26DF move.l [A3]+, [A7]+
0000608A 51CF FFFC dbf D7, -0x6 /* 00006088 */
0000608E 4ED2 jmp [A2]
00006090 266D FDD2 movea.l A3, [A5 - 0x22E]
00006094 3E2D FDAC move.w D7, [A5 - 0x254]
label00006098:
00006098 26DA move.l [A3]+, [A2]+
0000609A 51CF FFFC dbf D7, -0x6 /* 00006098 */
0000609E 4E75 rts
000060A0 206D FDD6 movea.l A0, [A5 - 0x22A]
000060A4 43EF 0004 lea.l A1, [A7 + 0x4]
000060A8 302D FDAC move.w D0, [A5 - 0x254]
label000060AC:
000060AC 20D9 move.l [A0]+, [A1]+
000060AE 51C8 FFFC dbf D0, -0x6 /* 000060AC */
000060B2 4E75 rts
fn000060B4:
000060B4 266D FDDA movea.l A3, [A5 - 0x226]
000060B8 600A bra +0xC /* 000060C4 */
000060BA 266D FDD6 movea.l A3, [A5 - 0x22A]
000060BE 6004 bra +0x6 /* 000060C4 */
fn000060C0:
000060C0 266D FDD2 movea.l A3, [A5 - 0x22E]
label000060C4:
000060C4 3E2D FDAC move.w D7, [A5 - 0x254]
label000060C8:
000060C8 429B clr.l [A3]+
000060CA 51CF FFFC dbf D7, -0x6 /* 000060C8 */
000060CE 4E75 rts
fn000060D0:
000060D0 246D FDD2 movea.l A2, [A5 - 0x22E]
000060D4 266D FDD6 movea.l A3, [A5 - 0x22A]
000060D8 3E2D FDAC move.w D7, [A5 - 0x254]
label000060DC:
000060DC 2C12 move.l D6, [A2]
000060DE 24D3 move.l [A2]+, [A3]
000060E0 26C6 move.l [A3]+, D6
000060E2 51CF FFF8 dbf D7, -0xA /* 000060DC */
000060E6 4E75 rts
fn000060E8:
000060E8 246D FDD6 movea.l A2, [A5 - 0x22A]
000060EC 266D FDD2 movea.l A3, [A5 - 0x22E]
000060F0 6008 bra +0xA /* 000060FA */
fn000060F2:
000060F2 246D FDD2 movea.l A2, [A5 - 0x22E]
000060F6 266D FDD6 movea.l A3, [A5 - 0x22A]
label000060FA:
000060FA 3E2D FDAC move.w D7, [A5 - 0x254]
label000060FE:
000060FE 26DA move.l [A3]+, [A2]+
00006100 51CF FFFC dbf D7, -0x6 /* 000060FE */
00006104 4E75 rts
export_37:
00006106 206D FDD2 movea.l A0, [A5 - 0x22E]
0000610A 4A68 0006 tst.w [A0 + 0x6]
0000610E 4E75 rts
export_31:
00006110 6100 FAE2 bsr -0x51C /* 00005BF4 */
00006114 206D FDD2 movea.l A0, [A5 - 0x22E]
00006118 4250 clr.w [A0]
0000611A 4E75 rts
fn0000611C:
0000611C 206D FDD2 movea.l A0, [A5 - 0x22E]
00006120 3028 0002 move.w D0, [A0 + 0x2]
00006124 322D FDAE move.w D1, [A5 - 0x252]
00006128 5641 addq.w D1, 3
0000612A 0440 8000 subi.w D0, 0x8000
0000612E 6B14 bmi +0x16 /* 00006144 */
00006130 B240 cmp.w D1, D0
00006132 6510 bcs +0x12 /* 00006144 */
00006134 3200 move.w D1, D0
00006136 0241 0003 andi.w D1, 0x3
0000613A E349 lsl D1.w, 1
0000613C 323B 1008 move.w D1, [PC + D1.w + 0x8]
00006140 E448 lsr D0.w, 2
00006142 B040 cmp.w D0, D0
label00006144:
00006144 4E75 rts
00006146 0FFF bset <<invalid special address>>, D7
00006148 00FF ori.? <<invalid special address>>, 0xFFFFFFFFFFFFFFFF
0000614A 000F 0000 ori.b A7, 0x0
fn0000614E:
0000614E 61CC bsr -0x32 /* 0000611C */
00006150 6BF2 bmi -0xC /* 00006144 */
00006152 6500 FF6C bcs -0x92 /* 000060C0 */
00006156 41E8 0004 lea.l A0, [A0 + 0x4]
label0000615A:
0000615A 4258 clr.w [A0]+
0000615C 51C8 FFFC dbf D0, -0x6 /* 0000615A */
00006160 C350 .incomplete
00006162 6000 FCC0 bra -0x33E /* 00005E24 */
00006166 61B4 bsr -0x4A /* 0000611C */
00006168 6B00 FF56 bmi -0xA8 /* 000060C0 */
0000616C 65D6 bcs -0x28 /* 00006144 */
0000616E 4641 not.w D1
00006170 342D FDA2 move.w D2, [A5 - 0x25E]
00006174 41F0 2007 lea.l A0, [A0 + D2.w + 0x7]
00006178 342D FDA8 move.w D2, [A5 - 0x258]
0000617C 9440 sub.w D2, D0
0000617E 6B06 bmi +0x8 /* 00006186 */
label00006180:
00006180 4260 clr.w -[A0]
00006182 51CA FFFC dbf D2, -0x6 /* 00006180 */
label00006186:
00006186 C360 .incomplete
00006188 4E75 rts
0000618A 6108 bsr +0xA /* 00006194 */
0000618C 6000 F9F4 bra -0x60A /* 00005B82 */
00006190 6100 FA62 bsr -0x59C /* 00005BF4 */
fn00006194:
00006194 206D FDD2 movea.l A0, [A5 - 0x22E]
00006198 4A68 0006 tst.w [A0 + 0x6]
0000619C 6714 beq +0x16 /* 000061B2 */
0000619E 3010 move.w D0, [A0]
000061A0 6100 FF1E bsr -0xE0 /* 000060C0 */
000061A4 3080 move.w [A0], D0
000061A6 317C 1000 0006 move.w [A0 + 0x6], 0x1000
000061AC 317C 8000 0002 move.w [A0 + 0x2], 0x8000
label000061B2:
000061B2 4E75 rts
fn000061B4:
000061B4 226D FDC6 movea.l A1, [A5 - 0x23A]
000061B8 6010 bra +0x12 /* 000061CA */
fn000061BA:
000061BA 226D FDCE movea.l A1, [A5 - 0x232]
000061BE 600A bra +0xC /* 000061CA */
fn000061C0:
000061C0 226D FDCA movea.l A1, [A5 - 0x236]
000061C4 6004 bra +0x6 /* 000061CA */
fn000061C6:
000061C6 226D FDC2 movea.l A1, [A5 - 0x23E]
label000061CA:
000061CA 6100 FF26 bsr -0xD8 /* 000060F2 */
000061CE 302D FDAC move.w D0, [A5 - 0x254]
000061D2 206D FDD2 movea.l A0, [A5 - 0x22E]
label000061D6:
000061D6 20D9 move.l [A0]+, [A1]+
000061D8 51C8 FFFC dbf D0, -0x6 /* 000061D6 */
000061DC 4E75 rts
fn000061DE:
000061DE 6100 FF12 bsr -0xEC /* 000060F2 */
fn000061E2:
000061E2 6100 FEDC bsr -0x122 /* 000060C0 */
000061E6 245F movea.l A2, [A7]+
000061E8 266D FDD2 movea.l A3, [A5 - 0x22E]
000061EC 275A 0000 move.l [A3 + 0x0], [A2]+
000061F0 275A 0004 move.l [A3 + 0x4], [A2]+
000061F4 4ED2 jmp [A2]
fn000061F6:
000061F6 61EA bsr -0x14 /* 000061E2 */
000061F8 0000 8000 ori.b D0, 0x0
000061FC 0000 1000 ori.b D0, 0x0
00006200 4E75 rts
00006202 206D FDD2 movea.l A0, [A5 - 0x22E]
00006206 0A50 8000 xori.w [A0], 0x8000
0000620A 4E75 rts
0000620C 6100 F974 bsr -0x68A /* 00005B82 */
00006210 4680 not.l D0
00006212 6000 F9E0 bra -0x61E /* 00005BF4 */
fn00006216:
00006216 246D FDD2 movea.l A2, [A5 - 0x22E]
0000621A 3E2D FDA2 move.w D7, [A5 - 0x25E]
0000621E 45F2 7007 lea.l A2, [A2 + D7.w + 0x7]
00006222 264A movea.l A3, A2
00006224 5247 addq.w D7, 1
label00006226:
00006226 C70A abcd -[A3], -[A2]
00006228 51CF FFFC dbf D7, -0x6 /* 00006226 */
0000622C 4E75 rts
fn0000622E:
0000622E 61E6 bsr -0x18 /* 00006216 */
fn00006230:
00006230 61E4 bsr -0x1A /* 00006216 */
00006232 6000 FBF0 bra -0x40E /* 00005E24 */
fn00006236:
00006236 6100 F94A bsr -0x6B4 /* 00005B82 */
0000623A 6100 FEAC bsr -0x152 /* 000060E8 */
0000623E 5380 subq.l D0, 1
00006240 4E75 rts
00006242 61F2 bsr -0xC /* 00006236 */
00006244 6B0A bmi +0xC /* 00006250 */
label00006246:
00006246 3F00 move.w -[A7], D0
00006248 61E6 bsr -0x18 /* 00006230 */
0000624A 301F move.w D0, [A7]+
0000624C 51C8 FFF8 dbf D0, -0xA /* 00006246 */
label00006250:
00006250 4E75 rts
00006252 61E2 bsr -0x1C /* 00006236 */
00006254 6B0A bmi +0xC /* 00006260 */
label00006256:
00006256 3F00 move.w -[A7], D0
00006258 6108 bsr +0xA /* 00006262 */
0000625A 301F move.w D0, [A7]+
0000625C 51C8 FFF8 dbf D0, -0xA /* 00006256 */
label00006260:
00006260 4E75 rts
fn00006262:
00006262 206D FDD2 movea.l A0, [A5 - 0x22E]
00006266 5C88 addq.l A0, 6
00006268 302D FDA8 move.w D0, [A5 - 0x258]
0000626C 5240 addq.w D0, 1
0000626E 7200 moveq.l D1, 0x00
00006270 7600 moveq.l D3, 0x00
label00006272:
00006272 3210 move.w D1, [A0]
00006274 660C bne +0xE /* 00006282 */
00006276 4A43 tst.w D3
00006278 671C beq +0x1E /* 00006296 */
0000627A 7600 moveq.l D3, 0x00
0000627C 323C 5000 move.w D1, 0x5000 /* 'P\0' */
00006280 6014 bra +0x16 /* 00006296 */
label00006282:
00006282 343C 0003 move.w D2, 0x3
label00006286:
00006286 7800 moveq.l D4, 0x00
00006288 E951 roxl D1.w, 4
0000628A 6402 bcc +0x4 /* 0000628E */
0000628C 7805 moveq.l D4, 0x05
label0000628E:
0000628E D243 add.w D1, D3
00006290 3604 move.w D3, D4
00006292 51CA FFF2 dbf D2, -0x10 /* 00006286 */
label00006296:
00006296 30C1 move.w [A0]+, D1
00006298 51C8 FFD8 dbf D0, -0x2A /* 00006272 */
0000629C 6000 FB86 bra -0x478 /* 00005E24 */
label000062A0:
000062A0 6100 FF40 bsr -0xBE /* 000061E2 */
000062A4 8000 or.b D0, D0
000062A6 8000 or.b D0, D0
000062A8 0000 1000 ori.b D0, 0x0
000062AC 4E75 rts
label000062AE:
000062AE 6000 FE10 bra -0x1EE /* 000060C0 */
000062B2 611E bsr +0x20 /* 000062D2 */
label000062B4:
000062B4 64F8 bcc -0x6 /* 000062AE */
000062B6 60E8 bra -0x16 /* 000062A0 */
export_35:
000062B8 6118 bsr +0x1A /* 000062D2 */
000062BA 66F2 bne -0xC /* 000062AE */
000062BC 60E2 bra -0x1C /* 000062A0 */
000062BE 611C bsr +0x1E /* 000062DC */
label000062C0:
000062C0 65EC bcs -0x12 /* 000062AE */
000062C2 60DC bra -0x22 /* 000062A0 */
000062C4 610C bsr +0xE /* 000062D2 */
000062C6 67E6 beq -0x18 /* 000062AE */
000062C8 60D6 bra -0x28 /* 000062A0 */
000062CA 6106 bsr +0x8 /* 000062D2 */
000062CC 60F2 bra -0xC /* 000062C0 */
000062CE 610C bsr +0xE /* 000062DC */
000062D0 60E2 bra -0x1C /* 000062B4 */
fn000062D2:
000062D2 206D FDD2 movea.l A0, [A5 - 0x22E]
000062D6 226D FDD6 movea.l A1, [A5 - 0x22A]
000062DA 6008 bra +0xA /* 000062E4 */
fn000062DC:
000062DC 226D FDD2 movea.l A1, [A5 - 0x22E]
000062E0 206D FDD6 movea.l A0, [A5 - 0x22A]
label000062E4:
000062E4 302D FDA8 move.w D0, [A5 - 0x258]
000062E8 5440 addq.w D0, 2
000062EA B348 cmpm.w [A1]+, [A0]+
000062EC 661C bne +0x1E /* 0000630A */
000062EE 5588 subq.l A0, 2
000062F0 4A58 tst.w [A0]+
000062F2 6610 bne +0x12 /* 00006304 */
000062F4 C149 exg A0, A1
000062F6 600C bra +0xE /* 00006304 */
fn000062F8:
000062F8 206D FDD2 movea.l A0, [A5 - 0x22E]
000062FC 226D FDD6 movea.l A1, [A5 - 0x22A]
00006300 302D FDB0 move.w D0, [A5 - 0x250]
label00006304:
00006304 B348 cmpm.w [A1]+, [A0]+
00006306 56C8 FFFC dbne D0, -0x6 /* 00006304 */
label0000630A:
0000630A 4E75 rts
0000630C 2C1F move.l D6, [A7]+
0000630E 6100 FD6E bsr -0x290 /* 0000607E */
00006312 2F06 move.l -[A7], D6
fn00006314:
00006314 6100 FDBA bsr -0x244 /* 000060D0 */
fn00006318:
00006318 226D FDD6 movea.l A1, [A5 - 0x22A]
0000631C 0A51 8000 xori.w [A1], 0x8000
00006320 6008 bra +0xA /* 0000632A */
fn00006322:
00006322 2C1F move.l D6, [A7]+
00006324 6100 FD58 bsr -0x2A6 /* 0000607E */
00006328 2F06 move.l -[A7], D6
fn0000632A:
0000632A 206D FDD2 movea.l A0, [A5 - 0x22E]
0000632E 226D FDD6 movea.l A1, [A5 - 0x22A]
00006332 45E8 0002 lea.l A2, [A0 + 0x2]
00006336 47E9 0002 lea.l A3, [A1 + 0x2]
0000633A 302D FDA8 move.w D0, [A5 - 0x258]
0000633E 5640 addq.w D0, 3
label00006340:
00006340 B54B cmpm.w [A2]+, [A3]+
00006342 56C8 FFFC dbne D0, -0x6 /* 00006340 */
00006346 6404 bcc +0x6 /* 0000634C */
00006348 6100 FD86 bsr -0x278 /* 000060D0 */
label0000634C:
0000634C 3028 0002 move.w D0, [A0 + 0x2]
00006350 9069 0002 sub.w D0, [A1 + 0x2]
00006354 322D FDAE move.w D1, [A5 - 0x252]
00006358 5641 addq.w D1, 3
0000635A B041 cmp.w D0, D1
0000635C 6302 bls +0x4 /* 00006360 */
0000635E 4E75 rts
label00006360:
00006360 E248 lsr D0.w, 1
00006362 641A bcc +0x1C /* 0000637E */
00006364 45E9 0006 lea.l A2, [A1 + 0x6]
00006368 322D FDA8 move.w D1, [A5 - 0x258]
0000636C 7E00 moveq.l D7, 0x00
label0000636E:
0000636E E99F rol D7, 4
00006370 3E12 move.w D7, [A2]
00006372 E89F ror D7, 4
00006374 34C7 move.w [A2]+, D7
00006376 4847 swap.w D7
00006378 51C9 FFF4 dbf D1, -0xE /* 0000636E */
0000637C 3487 move.w [A2], D7
label0000637E:
0000637E 3E2D FDA2 move.w D7, [A5 - 0x25E]
00006382 5247 addq.w D7, 1
00006384 45F0 7006 lea.l A2, [A0 + D7.w + 0x6]
00006388 9E40 sub.w D7, D0
0000638A 47F1 7006 lea.l A3, [A1 + D7.w + 0x6]
0000638E B348 cmpm.w [A1]+, [A0]+
00006390 6612 bne +0x14 /* 000063A4 */
label00006392:
00006392 C50B abcd -[A2], -[A3]
00006394 51CF FFFC dbf D7, -0x6 /* 00006392 */
label00006398:
00006398 47EB 0001 lea.l A3, [A3 + 0x1]
0000639C C50B abcd -[A2], -[A3]
0000639E 65F8 bcs -0x6 /* 00006398 */
000063A0 6000 FA82 bra -0x57C /* 00005E24 */
label000063A4:
000063A4 850B sbcd -[A2], -[A3]
000063A6 51CF FFFC dbf D7, -0x6 /* 000063A4 */
label000063AA:
000063AA 47EB 0001 lea.l A3, [A3 + 0x1]
000063AE 850B sbcd -[A2], -[A3]
000063B0 65F8 bcs -0x6 /* 000063AA */
000063B2 6000 FA70 bra -0x58E /* 00005E24 */
fn000063B6:
000063B6 7E09 moveq.l D7, 0x09
000063B8 45FA 000E lea.l A2, [PC + 0xE /* 000063C8, value 0x10003 */]
label000063BC:
000063BC 3C1A move.w D6, [A2]+
000063BE 3A1A move.w D5, [A2]+
000063C0 B05A cmp.w D0, [A2]+
000063C2 54CF FFF8 dbcc D7, -0xA /* 000063BC */
000063C6 4E75 rts
000063C8 0001 0003 ori.b D1, 0x3
000063CC 8000 or.b D0, D0
000063CE 0002 0006 ori.b D2, 0x6
000063D2 6400 0003 bcc +0x5 /* 000063D7 */
000063D6 0009 5120 ori.b A1, 0x20 /* ' ' */
000063DA 0001 0002 ori.b D1, 0x2
000063DE 4000 negx.b D0
000063E0 0002 0005 ori.b D2, 0x5
000063E4 3200 move.w D1, D0
000063E6 0003 0008 ori.b D3, 0x8
000063EA 2560 0001 move.l [A2 + 0x1], -[A0]
000063EE 0001 2000 ori.b D1, 0x0
000063F2 0002 0004 ori.b D2, 0x4
000063F6 1600 move.b D3, D0
000063F8 0003 0007 ori.b D3, 0x7
000063FC 1280 move.b [A1], D0
000063FE 0001 0000 ori.b D1, 0x0
00006402 1000 move.b D0, D0
label00006404:
00006404 9D68 0002 sub.w [A0 + 0x2], D6
00006408 5345 subq.w D5, 1
0000640A 6B16 bmi +0x18 /* 00006422 */
0000640C E34A lsl D2.w, 1
label0000640E:
0000640E 3E02 move.w D7, D2
00006410 45F0 7008 lea.l A2, [A0 + D7.w + 0x8]
00006414 264A movea.l A3, A2
00006416 5647 addq.w D7, 3
label00006418:
00006418 C70A abcd -[A3], -[A2]
0000641A 51CF FFFC dbf D7, -0x6 /* 00006418 */
0000641E 51CD FFEE dbf D5, -0x14 /* 0000640E */
label00006422:
00006422 6000 FA00 bra -0x5FE /* 00005E24 */
fn00006426:
00006426 2C1F move.l D6, [A7]+
00006428 6100 FC54 bsr -0x3AA /* 0000607E */
0000642C 2F06 move.l -[A7], D6
fn0000642E:
0000642E 4EBA 0174 jsr [PC + 0x174 /* 000065A4 */]
00006432 6700 FC8C beq -0x372 /* 000060C0 */
00006436 0440 7FFF subi.w D0, 0x7FFF
0000643A D168 0002 add.w [A0 + 0x2], D0
0000643E 302D FDA2 move.w D0, [A5 - 0x25E]
00006442 45F0 0007 lea.l A2, [A0 + D0.w + 0x7]
00006446 47F1 0007 lea.l A3, [A1 + D0.w + 0x7]
0000644A 342D FDA8 move.w D2, [A5 - 0x258]
0000644E 5242 addq.w D2, 1
00006450 3602 move.w D3, D2
label00006452:
00006452 3822 move.w D4, -[A2]
00006454 56CA FFFC dbne D2, -0x6 /* 00006452 */
label00006458:
00006458 3A23 move.w D5, -[A3]
0000645A 56CB FFFC dbne D3, -0x6 /* 00006458 */
0000645E B443 cmp.w D2, D3
00006460 6416 bcc +0x18 /* 00006478 */
00006462 3803 move.w D4, D3
00006464 45E8 0006 lea.l A2, [A0 + 0x6]
00006468 47E9 0006 lea.l A3, [A1 + 0x6]
label0000646C:
0000646C 3C12 move.w D6, [A2]
0000646E 34D3 move.w [A2]+, [A3]
00006470 36C6 move.w [A3]+, D6
00006472 51CC FFF8 dbf D4, -0xA /* 0000646C */
00006476 C543 exg D2, D3
label00006478:
00006478 4A43 tst.w D3
0000647A 6626 bne +0x28 /* 000064A2 */
0000647C 3029 0006 move.w D0, [A1 + 0x6]
00006480 6100 FF34 bsr -0xCA /* 000063B6 */
00006484 6700 FF7E beq -0x80 /* 00006404 */
00006488 4A42 tst.w D2
0000648A 6616 bne +0x18 /* 000064A2 */
0000648C 3E28 0006 move.w D7, [A0 + 0x6]
00006490 3140 0006 move.w [A0 + 0x6], D0
00006494 3347 0006 move.w [A1 + 0x6], D7
00006498 3007 move.w D0, D7
0000649A 6100 FF1A bsr -0xE4 /* 000063B6 */
0000649E 6700 FF64 beq -0x9A /* 00006404 */
label000064A2:
000064A2 3A02 move.w D5, D2
000064A4 45E9 0006 lea.l A2, [A1 + 0x6]
000064A8 3E03 move.w D7, D3
label000064AA:
000064AA 4242 clr.w D2
000064AC 3212 move.w D1, [A2]
000064AE 6716 beq +0x18 /* 000064C6 */
000064B0 4841 swap.w D1
000064B2 7803 moveq.l D4, 0x03
label000064B4:
000064B4 4241 clr.w D1
000064B6 E999 rol D1, 4
000064B8 D442 add.w D2, D2
000064BA 3C02 move.w D6, D2
000064BC E54A lsl D2.w, 2
000064BE D446 add.w D2, D6
000064C0 D441 add.w D2, D1
000064C2 51CC FFF0 dbf D4, -0x12 /* 000064B4 */
label000064C6:
000064C6 34C2 move.w [A2]+, D2
000064C8 51CF FFE0 dbf D7, -0x22 /* 000064AA */
000064CC 246D FDDA movea.l A2, [A5 - 0x226]
000064D0 34A8 0002 move.w [A2], [A0 + 0x2]
000064D4 4268 0002 clr.w [A0 + 0x2]
000064D8 3E05 move.w D7, D5
000064DA E34D lsl D5.w, 1
000064DC 5845 addq.w D5, 4
000064DE 3203 move.w D1, D3
000064E0 3F3C 000E move.w -[A7], 0xE
000064E4 DE43 add.w D7, D3
000064E6 3C2D FDA8 move.w D6, [A5 - 0x258]
000064EA 5246 addq.w D6, 1
000064EC BC47 cmp.w D6, D7
000064EE 645C bcc +0x5E /* 0000654C */
000064F0 3E2D FDA2 move.w D7, [A5 - 0x25E]
000064F4 45F2 7007 lea.l A2, [A2 + D7.w + 0x7]
000064F8 280A move.l D4, A2
000064FA 47F0 7007 lea.l A3, [A0 + D7.w + 0x7]
000064FE 200B move.l D0, A3
label00006500:
00006500 226D FDD6 movea.l A1, [A5 - 0x22A]
00006504 5C89 addq.l A1, 6
00006506 2600 move.l D3, D0
00006508 3C2D FDA8 move.w D6, [A5 - 0x258]
0000650C 5246 addq.w D6, 1
0000650E 3401 move.w D2, D1
label00006510:
00006510 E6D9 ror .w [A1]+
00006512 641A bcc +0x1C /* 0000652E */
00006514 2644 movea.l A3, D4
00006516 2443 movea.l A2, D3
00006518 3E06 move.w D7, D6
0000651A 5247 addq.w D7, 1
label0000651C:
0000651C C70A abcd -[A3], -[A2]
0000651E C70A abcd -[A3], -[A2]
00006520 51CF FFFA dbf D7, -0x8 /* 0000651C */
00006524 6408 bcc +0xA /* 0000652E */
label00006526:
00006526 C70A abcd -[A3], -[A2]
00006528 45EA 0001 lea.l A2, [A2 + 0x1]
0000652C 65F8 bcs -0x6 /* 00006526 */
label0000652E:
0000652E 5583 subq.l D3, 2
00006530 5346 subq.w D6, 1
00006532 51CA FFDC dbf D2, -0x26 /* 00006510 */
00006536 45F0 5004 lea.l A2, [A0 + D5.w + 0x4]
0000653A 3E05 move.w D7, D5
0000653C 264A movea.l A3, A2
label0000653E:
0000653E C70A abcd -[A3], -[A2]
00006540 51CF FFFC dbf D7, -0x6 /* 0000653E */
00006544 5357 subq.w [A7], 1
00006546 66B8 bne -0x46 /* 00006500 */
00006548 4EFA 0170 jmp [PC + 0x170 /* 000066BA */]
label0000654C:
0000654C 3C05 move.w D6, D5
0000654E E24E lsr D6.w, 1
00006550 5246 addq.w D6, 1
00006552 45F2 5004 lea.l A2, [A2 + D5.w + 0x4]
00006556 200A move.l D0, A2
00006558 45F0 5004 lea.l A2, [A0 + D5.w + 0x4]
0000655C 260A move.l D3, A2
label0000655E:
0000655E 226D FDD6 movea.l A1, [A5 - 0x22A]
00006562 5C89 addq.l A1, 6
00006564 2800 move.l D4, D0
00006566 3401 move.w D2, D1
label00006568:
00006568 E6D9 ror .w [A1]+
0000656A 641A bcc +0x1C /* 00006586 */
0000656C 2644 movea.l A3, D4
0000656E 2443 movea.l A2, D3
00006570 3E06 move.w D7, D6
00006572 5347 subq.w D7, 1
label00006574:
00006574 C70A abcd -[A3], -[A2]
00006576 C70A abcd -[A3], -[A2]
00006578 51CF FFFA dbf D7, -0x8 /* 00006574 */
0000657C 6408 bcc +0xA /* 00006586 */
label0000657E:
0000657E C70A abcd -[A3], -[A2]
00006580 45EA 0001 lea.l A2, [A2 + 0x1]
00006584 65F8 bcs -0x6 /* 0000657E */
label00006586:
00006586 5484 addq.l D4, 2
00006588 51CA FFDE dbf D2, -0x24 /* 00006568 */
0000658C 2443 movea.l A2, D3
0000658E 3E06 move.w D7, D6
00006590 5347 subq.w D7, 1
00006592 264A movea.l A3, A2
label00006594:
00006594 C70A abcd -[A3], -[A2]
00006596 C70A abcd -[A3], -[A2]
00006598 51CF FFFA dbf D7, -0x8 /* 00006594 */
0000659C 5357 subq.w [A7], 1
0000659E 66BE bne -0x40 /* 0000655E */
000065A0 4EFA 0118 jmp [PC + 0x118 /* 000066BA */]
fn000065A4:
000065A4 206D FDD2 movea.l A0, [A5 - 0x22E]
000065A8 226D FDD6 movea.l A1, [A5 - 0x22A]
000065AC 4A68 0006 tst.w [A0 + 0x6]
000065B0 6606 bne +0x8 /* 000065B8 */
000065B2 588F addq.l A7, 4
000065B4 4290 clr.l [A0]
000065B6 4E75 rts
label000065B8:
000065B8 6100 FAFA bsr -0x504 /* 000060B4 */
000065BC 3011 move.w D0, [A1]
000065BE B150 xor.w [A0], D0
000065C0 3029 0002 move.w D0, [A1 + 0x2]
000065C4 4A69 0006 tst.w [A1 + 0x6]
000065C8 4E75 rts
000065CA 2C1F move.l D6, [A7]+
000065CC 6100 FAB0 bsr -0x54E /* 0000607E */
000065D0 2F06 move.l -[A7], D6
fn000065D2:
000065D2 6100 FAFC bsr -0x502 /* 000060D0 */
fn000065D6:
000065D6 61CC bsr -0x32 /* 000065A4 */
000065D8 6700 F922 beq -0x6DC /* 00005EFC */
000065DC 0440 8000 subi.w D0, 0x8000
000065E0 9168 0002 sub.w [A0 + 0x2], D0
000065E4 302D FDA2 move.w D0, [A5 - 0x25E]
000065E8 45F0 0007 lea.l A2, [A0 + D0.w + 0x7]
000065EC 47F1 0007 lea.l A3, [A1 + D0.w + 0x7]
000065F0 5440 addq.w D0, 2
000065F2 3600 move.w D3, D0
label000065F4:
000065F4 5540 subq.w D0, 2
000065F6 5543 subq.w D3, 2
000065F8 3E23 move.w D7, -[A3]
000065FA 660A bne +0xC /* 00006606 */
000065FC 4A62 tst.w -[A2]
000065FE 67F4 beq -0xA /* 000065F4 */
label00006600:
00006600 5540 subq.w D0, 2
00006602 3E23 move.w D7, -[A3]
00006604 67FA beq -0x4 /* 00006600 */
label00006606:
00006606 0C40 0001 cmpi.w D0, 0x1
0000660A 6622 bne +0x24 /* 0000662E */
0000660C 3F00 move.w -[A7], D0
0000660E 3007 move.w D0, D7
00006610 6100 FDA4 bsr -0x25A /* 000063B6 */
00006614 6616 bne +0x18 /* 0000662C */
00006616 5346 subq.w D6, 1
00006618 DD68 0002 add.w [A0 + 0x2], D6
0000661C 3F05 move.w -[A7], D5
label0000661E:
0000661E 5357 subq.w [A7], 1
00006620 6B06 bmi +0x8 /* 00006628 */
00006622 6100 FC3E bsr -0x3C0 /* 00006262 */
00006626 60F6 bra -0x8 /* 0000661E */
label00006628:
00006628 588F addq.l A7, 4
0000662A 4E75 rts
label0000662C:
0000662C 301F move.w D0, [A7]+
label0000662E:
0000662E 246D FDDA movea.l A2, [A5 - 0x226]
00006632 280A move.l D4, A2
00006634 5884 addq.l D4, 4
00006636 34A8 0002 move.w [A2], [A0 + 0x2]
0000663A 3C2D FDA8 move.w D6, [A5 - 0x258]
0000663E 5446 addq.w D6, 2
00006640 3F06 move.w -[A7], D6
00006642 3A3C 1000 move.w D5, 0x1000
00006646 3400 move.w D2, D0
00006648 45F0 0007 lea.l A2, [A0 + D0.w + 0x7]
0000664C 260A move.l D3, A2
0000664E 7E00 moveq.l D7, 0x00
label00006650:
00006650 47F1 2007 lea.l A3, [A1 + D2.w + 0x7]
00006654 220B move.l D1, A3
00006656 45E8 0005 lea.l A2, [A0 + 0x5]
0000665A 47E9 0005 lea.l A3, [A1 + 0x5]
0000665E 6010 bra +0x12 /* 00006670 */
label00006660:
00006660 3002 move.w D0, D2
00006662 2443 movea.l A2, D3
00006664 2641 movea.l A3, D1
00006666 850B sbcd -[A2], -[A3]
label00006668:
00006668 850B sbcd -[A2], -[A3]
0000666A 51C8 FFFC dbf D0, -0x6 /* 00006668 */
0000666E DE45 add.w D7, D5
label00006670:
00006670 B50B cmpm.b [A2]+, [A3]+
00006672 62EC bhi -0x12 /* 00006660 */
00006674 3006 move.w D0, D6
label00006676:
00006676 B54B cmpm.w [A2]+, [A3]+
00006678 56C8 FFFC dbne D0, -0x6 /* 00006676 */
0000667C 64E2 bcc -0x1C /* 00006660 */
0000667E 3006 move.w D0, D6
00006680 5440 addq.w D0, 2
00006682 E348 lsl D0.w, 1
00006684 45F0 0006 lea.l A2, [A0 + D0.w + 0x6]
00006688 E248 lsr D0.w, 1
0000668A 7200 moveq.l D1, 0x00
label0000668C:
0000668C 3222 move.w D1, -[A2]
0000668E 56C8 FFFC dbne D0, -0x6 /* 0000668C */
00006692 6722 beq +0x24 /* 000066B6 */
label00006694:
00006694 E999 rol D1, 4
00006696 3481 move.w [A2], D1
00006698 4841 swap.w D1
0000669A E899 ror D1, 4
0000669C 3222 move.w D1, -[A2]
0000669E 51C8 FFF4 dbf D0, -0xE /* 00006694 */
000066A2 E84D lsr D5.w, 4
000066A4 66AA bne -0x54 /* 00006650 */
000066A6 2444 movea.l A2, D4
000066A8 3487 move.w [A2], D7
000066AA 7E00 moveq.l D7, 0x00
000066AC 5484 addq.l D4, 2
000066AE 3A3C 1000 move.w D5, 0x1000
000066B2 5357 subq.w [A7], 1
000066B4 669A bne -0x64 /* 00006650 */
label000066B6:
000066B6 2444 movea.l A2, D4
000066B8 3487 move.w [A2], D7
label000066BA:
000066BA 548F addq.l A7, 2
000066BC 246D FDDA movea.l A2, [A5 - 0x226]
000066C0 5488 addq.l A0, 2
000066C2 302D FDAC move.w D0, [A5 - 0x254]
label000066C6:
000066C6 20DA move.l [A0]+, [A2]+
000066C8 51C8 FFFC dbf D0, -0x6 /* 000066C6 */
000066CC 6000 F756 bra -0x8A8 /* 00005E24 */
000066D0 6100 F522 bsr -0xADC /* 00005BF4 */
000066D4 6100 F988 bsr -0x676 /* 0000605E */
000066D8 4EBA 038C jsr [PC + 0x38C /* 00006A66 */]
000066DC 6100 F9A0 bsr -0x65E /* 0000607E */
000066E0 6100 F97C bsr -0x682 /* 0000605E */
000066E4 6100 FA02 bsr -0x5FC /* 000060E8 */
000066E8 4EBA 038A jsr [PC + 0x38A /* 00006A74 */]
000066EC 6100 F990 bsr -0x66E /* 0000607E */
000066F0 6000 FEE4 bra -0x11A /* 000065D6 */
export_54:
000066F4 4EBA 0036 jsr [PC + 0x36 /* 0000672C */]
000066F8 C081 and.l D0, D1
000066FA 6000 F4F8 bra -0xB06 /* 00005BF4 */
000066FE 4EBA 002C jsr [PC + 0x2C /* 0000672C */]
00006702 B380 xor.l D0, D1
00006704 6000 F4EE bra -0xB10 /* 00005BF4 */
00006708 4EBA 0022 jsr [PC + 0x22 /* 0000672C */]
0000670C 8081 or.l D0, D1
0000670E 6000 F4E4 bra -0xB1A /* 00005BF4 */
00006712 4EBA 0018 jsr [PC + 0x18 /* 0000672C */]
00006716 C340 exg D1, D0
00006718 4EBA 9EAA jsr [PC - 0x6156 /* 000005C4 */]
0000671C C340 exg D1, D0
0000671E 6000 F4D4 bra -0xB2A /* 00005BF4 */
00006722 6100 F45E bsr -0xBA0 /* 00005B82 */
00006726 4680 not.l D0
00006728 6000 F4CA bra -0xB34 /* 00005BF4 */
fn0000672C:
0000672C 6100 F454 bsr -0xBAA /* 00005B82 */
00006730 2F00 move.l -[A7], D0
00006732 6100 F9B4 bsr -0x64A /* 000060E8 */
00006736 6100 F44A bsr -0xBB4 /* 00005B82 */
0000673A 221F move.l D1, [A7]+
0000673C 4E75 rts
0000673E 4EBA A952 jsr [PC - 0x56AE /* 00001092 */]
00006742 6000 F4B0 bra -0xB4E /* 00005BF4 */
00006746 4EBA 9EB6 jsr [PC - 0x614A /* 000005FE */]
0000674A 6000 F4A8 bra -0xB56 /* 00005BF4 */
0000674E 4EBA A93C jsr [PC - 0x56C4 /* 0000108C */]
00006752 6000 F4A0 bra -0xB5E /* 00005BF4 */
00006756 6100 F42A bsr -0xBD4 /* 00005B82 */
0000675A 4EBA 9ECA jsr [PC - 0x6136 /* 00000626 */]
0000675E 6000 F494 bra -0xB6A /* 00005BF4 */
00006762 6100 F41E bsr -0xBE0 /* 00005B82 */
00006766 4EFA 9EBE jmp [PC - 0x6142 /* 00000626 */]
0000676A 6100 F416 bsr -0xBE8 /* 00005B82 */
0000676E 4EBA BC38 jsr [PC - 0x43C8 /* 000023A8 */]
00006772 6000 F480 bra -0xB7E /* 00005BF4 */
00006776 6100 F40A bsr -0xBF4 /* 00005B82 */
0000677A 4EFA BC2C jmp [PC - 0x43D4 /* 000023A8 */]
0000677E 6100 F402 bsr -0xBFC /* 00005B82 */
00006782 4EBA 1C5C jsr [PC + 0x1C5C /* 000083E0 */]
00006786 6000 F46C bra -0xB92 /* 00005BF4 */
0000678A 6100 F3F6 bsr -0xC08 /* 00005B82 */
0000678E 4EFA 1C50 jmp [PC + 0x1C50 /* 000083E0 */]
00006792 6100 F3EE bsr -0xC10 /* 00005B82 */
00006796 4EBA 1C3E jsr [PC + 0x1C3E /* 000083D6 */]
0000679A 6000 F458 bra -0xBA6 /* 00005BF4 */
0000679E 6100 F3E2 bsr -0xC1C /* 00005B82 */
000067A2 4EFA 1C32 jmp [PC + 0x1C32 /* 000083D6 */]
000067A6 6104 bsr +0x6 /* 000067AC */
000067A8 6000 F44A bra -0xBB4 /* 00005BF4 */
fn000067AC:
000067AC 7000 moveq.l D0, 0x00
000067AE 7200 moveq.l D1, 0x00
000067B0 1218 move.b D1, [A0]+
000067B2 6710 beq +0x12 /* 000067C4 */
000067B4 0C41 0005 cmpi.w D1, 0x5
000067B8 6502 bcs +0x4 /* 000067BC */
000067BA 7204 moveq.l D1, 0x04
label000067BC:
000067BC E188 lsl D0, 8
000067BE 1018 move.b D0, [A0]+
000067C0 5341 subq.w D1, 1
000067C2 66F8 bne -0x6 /* 000067BC */
label000067C4:
000067C4 4E75 rts
000067C6 7A00 moveq.l D5, 0x00
000067C8 1A18 move.b D5, [A0]+
000067CA 5545 subq.w D5, 2
000067CC 6B00 F8F2 bmi -0x70C /* 000060C0 */
000067D0 4A2D FDEE tst.b [A5 - 0x212]
000067D4 660E bne +0x10 /* 000067E4 */
label000067D6:
000067D6 BA6D FDA2 cmp.w D5, [A5 - 0x25E]
000067DA 6504 bcs +0x6 /* 000067E0 */
000067DC 3A2D FDA2 move.w D5, [A5 - 0x25E]
label000067E0:
000067E0 6000 F806 bra -0x7F8 /* 00005FE8 */
label000067E4:
000067E4 3005 move.w D0, D5
000067E6 E248 lsr D0.w, 1
000067E8 65EC bcs -0x12 /* 000067D6 */
000067EA 5340 subq.w D0, 1
000067EC B06D FDA8 cmp.w D0, [A5 - 0x258]
000067F0 6504 bcs +0x6 /* 000067F6 */
000067F2 302D FDA8 move.w D0, [A5 - 0x258]
label000067F6:
000067F6 43ED FDFC lea.l A1, [A5 - 0x204]
000067FA 5245 addq.w D5, 1
label000067FC:
000067FC 12D8 move.b [A1]+, [A0]+
000067FE 51CD FFFC dbf D5, -0x6 /* 000067FC */
00006802 41ED FDFC lea.l A0, [A5 - 0x204]
00006806 6000 F824 bra -0x7DA /* 0000602C */
0000680A 6100 F3E8 bsr -0xC16 /* 00005BF4 */
0000680E 206D FDD2 movea.l A0, [A5 - 0x22E]
00006812 4A68 0006 tst.w [A0 + 0x6]
00006816 6700 00A6 beq +0xA8 /* 000068BE */
0000681A 4258 clr.w [A0]+
0000681C 3010 move.w D0, [A0]
0000681E 0440 8000 subi.w D0, 0x8000
00006822 4A40 tst.w D0
00006824 6A06 bpl +0x8 /* 0000682C */
00006826 003C 00FF ori.b ccr, 255
0000682A 6004 bra +0x6 /* 00006830 */
label0000682C:
0000682C 023C 0000 andi.b ccr, 0
label00006830:
00006830 E250 roxr D0.w, 1
00006832 3F00 move.w -[A7], D0
00006834 303C 3FFF move.w D0, 0x3FFF
00006838 E350 roxl D0.w, 1
0000683A 3080 move.w [A0], D0
0000683C 6100 F746 bsr -0x8B8 /* 00005F84 */
00006840 FDDE .extension 0xDDE // unimplemented
00006842 5050 addq.w [A0], 8
00006844 2F08 move.l -[A7], A0
00006846 6100 F33A bsr -0xCC4 /* 00005B82 */
0000684A 323C 1270 move.w D1, 0x1270
0000684E 383C 0005 move.w D4, 0x5
label00006852:
00006852 3401 move.w D2, D1
00006854 2600 move.l D3, D0
00006856 86C1 divu.w D3, D1
00006858 D243 add.w D1, D3
0000685A E249 lsr D1.w, 1
0000685C B242 cmp.w D1, D2
0000685E 57CC FFF2 dbeq D4, -0x10 /* 00006852 */
00006862 3001 move.w D0, D1
00006864 0C40 2710 cmpi.w D0, 0x2710
00006868 6504 bcs +0x6 /* 0000686E */
0000686A 303C 270F move.w D0, 0x270F
label0000686E:
0000686E 48C0 ext.l D0
00006870 6100 F382 bsr -0xC7C /* 00005BF4 */
00006874 205F movea.l A0, [A7]+
00006876 30BC 7FFF move.w [A0], 0x7FFF
0000687A 302D FDB0 move.w D0, [A5 - 0x250]
0000687E 5540 subq.w D0, 2
00006880 7202 moveq.l D1, 0x02
label00006882:
00006882 5241 addq.w D1, 1
00006884 E248 lsr D0.w, 1
00006886 66FA bne -0x4 /* 00006882 */
00006888 3F01 move.w -[A7], D1
label0000688A:
0000688A 6100 F7D2 bsr -0x82C /* 0000605E */
0000688E 6100 F70E bsr -0x8F0 /* 00005F9E */
00006892 FDDE .extension 0xDDE // unimplemented
00006894 6100 FD40 bsr -0x2BE /* 000065D6 */
00006898 6100 F7E4 bsr -0x81A /* 0000607E */
0000689C 6100 FA5A bsr -0x5A4 /* 000062F8 */
000068A0 670C beq +0xE /* 000068AE */
000068A2 6100 FA86 bsr -0x578 /* 0000632A */
000068A6 6100 F9BA bsr -0x644 /* 00006262 */
000068AA 5357 subq.w [A7], 1
000068AC 66DC bne -0x22 /* 0000688A */
label000068AE:
000068AE 548F addq.l A7, 2
000068B0 301F move.w D0, [A7]+
000068B2 0640 8000 addi.w D0, 0x8000
000068B6 206D FDD2 movea.l A0, [A5 - 0x22E]
000068BA 3140 0002 move.w [A0 + 0x2], D0
label000068BE:
000068BE 4E75 rts
000068C0 6100 F332 bsr -0xCCC /* 00005BF4 */
000068C4 206D FDD2 movea.l A0, [A5 - 0x22E]
000068C8 3F10 move.w -[A7], [A0]
000068CA 30BC 0000 move.w [A0], 0x0
000068CE 6100 F90E bsr -0x6F0 /* 000061DE */
000068D2 0000 7FFF ori.b D0, 0xFF
000068D6 0000 4000 ori.b D0, 0x0
000068DA 6100 F9F6 bsr -0x608 /* 000062D2 */
000068DE 6508 bcs +0xA /* 000068E8 */
000068E0 6100 F806 bsr -0x7F8 /* 000060E8 */
000068E4 612C bsr +0x2E /* 00006912 */
000068E6 604C bra +0x4E /* 00006934 */
label000068E8:
000068E8 6100 F8F8 bsr -0x706 /* 000061E2 */
000068EC 0000 8000 ori.b D0, 0x0
000068F0 0000 2500 ori.b D0, 0x0
000068F4 6100 F9DC bsr -0x622 /* 000062D2 */
000068F8 6428 bcc +0x2A /* 00006922 */
000068FA 6100 F8FA bsr -0x704 /* 000061F6 */
000068FE 6100 FCD6 bsr -0x328 /* 000065D6 */
00006902 610A bsr +0xC /* 0000690E */
00006904 6100 F8C0 bsr -0x73E /* 000061C6 */
00006908 6100 FA0E bsr -0x5F0 /* 00006318 */
0000690C 6026 bra +0x28 /* 00006934 */
fn0000690E:
0000690E 6100 F7E2 bsr -0x81C /* 000060F2 */
fn00006912:
00006912 3B7C 0003 FDF2 move.w [A5 - 0x20E], 0x3
00006918 7202 moveq.l D1, 0x02
0000691A 303C 0083 move.w D0, 0x83
0000691E 4EFA 020E jmp [PC + 0x20E /* 00006B2E */]
label00006922:
00006922 4EBA 010C jsr [PC + 0x10C /* 00006A30 */]
00006926 61EA bsr -0x14 /* 00006912 */
00006928 6100 F89C bsr -0x762 /* 000061C6 */
0000692C 6100 F934 bsr -0x6CA /* 00006262 */
00006930 6100 F9F8 bsr -0x606 /* 0000632A */
label00006934:
00006934 206D FDD2 movea.l A0, [A5 - 0x22E]
00006938 309F move.w [A0], [A7]+
0000693A 4E75 rts
fn0000693C:
0000693C 246D FDD2 movea.l A2, [A5 - 0x22E]
00006940 3E2D FDA2 move.w D7, [A5 - 0x25E]
00006944 45F2 7007 lea.l A2, [A2 + D7.w + 0x7]
00006948 3E2D FDA8 move.w D7, [A5 - 0x258]
label0000694C:
0000694C 4A62 tst.w -[A2]
0000694E 56CF FFFC dbne D7, -0x6 /* 0000694C */
00006952 6604 bne +0x6 /* 00006958 */
00006954 3022 move.w D0, -[A2]
00006956 B040 cmp.w D0, D0
label00006958:
00006958 4E75 rts
0000695A 6100 F298 bsr -0xD66 /* 00005BF4 */
fn0000695E:
0000695E 206D FDD2 movea.l A0, [A5 - 0x22E]
00006962 4A68 0006 tst.w [A0 + 0x6]
00006966 6608 bne +0xA /* 00006970 */
00006968 30BC 8000 move.w [A0], 0x8000
0000696C 6000 F58E bra -0xA70 /* 00005EFC */
label00006970:
00006970 30BC 0000 move.w [A0], 0x0
00006974 3B68 0002 FDF4 move.w [A5 - 0x20C], [A0 + 0x2]
0000697A 317C 7FFF 0002 move.w [A0 + 0x2], 0x7FFF
00006980 61BA bsr -0x44 /* 0000693C */
00006982 6614 bne +0x16 /* 00006998 */
00006984 6100 FA30 bsr -0x5CE /* 000063B6 */
00006988 660E bne +0x10 /* 00006998 */
0000698A 4268 0006 clr.w [A0 + 0x6]
0000698E 9D6D FDF4 sub.w [A5 - 0x20C], D6
00006992 3B45 FDF2 move.w [A5 - 0x20E], D5
00006996 6056 bra +0x58 /* 000069EE */
label00006998:
00006998 3B7C 0000 FDF2 move.w [A5 - 0x20E], 0x0
label0000699E:
0000699E 0C68 7100 0006 cmpi.w [A0 + 0x6], 0x7100 /* 'q\0' */
000069A4 6414 bcc +0x16 /* 000069BA */
000069A6 2F08 move.l -[A7], A0
000069A8 6100 F886 bsr -0x778 /* 00006230 */
000069AC 205F movea.l A0, [A7]+
000069AE 536D FDF2 subq.w [A5 - 0x20E], 1
000069B2 0C68 7FFF 0002 cmpi.w [A0 + 0x2], 0x7FFF
000069B8 67E4 beq -0x1A /* 0000699E */
label000069BA:
000069BA 4EBA 0070 jsr [PC + 0x70 /* 00006A2C */]
000069BE 672E beq +0x30 /* 000069EE */
000069C0 6100 F69C bsr -0x962 /* 0000605E */
000069C4 6100 F86A bsr -0x794 /* 00006230 */
000069C8 6124 bsr +0x26 /* 000069EE */
000069CA 6100 F5B8 bsr -0xA46 /* 00005F84 */
000069CE FDDE .extension 0xDDE // unimplemented
000069D0 6100 F6AC bsr -0x952 /* 0000607E */
000069D4 6100 F712 bsr -0x8EC /* 000060E8 */
000069D8 3B7C 0003 FDF2 move.w [A5 - 0x20E], 0x3
000069DE 3B7C 0002 FDF4 move.w [A5 - 0x20C], 0x2
000069E4 1B7C 0007 FDF0 move.b [A5 - 0x210], 0x7
000069EA 4EFA 0150 jmp [PC + 0x150 /* 00006B3C */]
fn000069EE:
000069EE 302D FDF2 move.w D0, [A5 - 0x20E]
000069F2 6716 beq +0x18 /* 00006A0A */
000069F4 48C0 ext.l D0
000069F6 6100 F666 bsr -0x998 /* 0000605E */
000069FA 6100 F1F8 bsr -0xE06 /* 00005BF4 */
000069FE 6100 F7C0 bsr -0x83E /* 000061C0 */
00006A02 6100 FA2A bsr -0x5D4 /* 0000642E */
00006A06 6100 F91A bsr -0x6E4 /* 00006322 */
label00006A0A:
00006A0A 302D FDF4 move.w D0, [A5 - 0x20C]
00006A0E 0440 7FFF subi.w D0, 0x7FFF
00006A12 6716 beq +0x18 /* 00006A2A */
00006A14 48C0 ext.l D0
00006A16 6100 F646 bsr -0x9B8 /* 0000605E */
00006A1A 6100 F1D8 bsr -0xE26 /* 00005BF4 */
00006A1E 6100 F79A bsr -0x864 /* 000061BA */
00006A22 6100 FA0A bsr -0x5F4 /* 0000642E */
00006A26 6100 F8FA bsr -0x704 /* 00006322 */
label00006A2A:
00006A2A 4E75 rts
fn00006A2C:
00006A2C 6100 F6C4 bsr -0x93A /* 000060F2 */
fn00006A30:
00006A30 6100 F7C4 bsr -0x83A /* 000061F6 */
00006A34 6100 F8F4 bsr -0x70A /* 0000632A */
00006A38 6100 F624 bsr -0x9DA /* 0000605E */
00006A3C 6100 F7A0 bsr -0x85E /* 000061DE */
00006A40 8000 or.b D0, D0
00006A42 8000 or.b D0, D0
00006A44 0000 2000 ori.b D0, 0x0
00006A48 6100 F8E0 bsr -0x71E /* 0000632A */
00006A4C 6100 F630 bsr -0x9CE /* 0000607E */
00006A50 6100 FB84 bsr -0x47A /* 000065D6 */
00006A54 6100 F69C bsr -0x962 /* 000060F2 */
00006A58 206D FDD2 movea.l A0, [A5 - 0x22E]
00006A5C 4A68 0006 tst.w [A0 + 0x6]
label00006A60:
00006A60 4E75 rts
00006A62 6100 F190 bsr -0xE6E /* 00005BF4 */
fn00006A66:
00006A66 6100 F75E bsr -0x8A0 /* 000061C6 */
00006A6A 6100 F8BE bsr -0x740 /* 0000632A */
00006A6E 6004 bra +0x6 /* 00006A74 */
00006A70 6100 F182 bsr -0xE7C /* 00005BF4 */
fn00006A74:
00006A74 206D FDD2 movea.l A0, [A5 - 0x22E]
00006A78 4A68 0006 tst.w [A0 + 0x6]
00006A7C 67E2 beq -0x1C /* 00006A60 */
00006A7E 3B50 FDF6 move.w [A5 - 0x20A], [A0]
00006A82 4250 clr.w [A0]
00006A84 6100 F740 bsr -0x8BE /* 000061C6 */
00006A88 6100 F7A4 bsr -0x85A /* 0000622E */
00006A8C 6100 F642 bsr -0x9BC /* 000060D0 */
00006A90 6100 F840 bsr -0x7BE /* 000062D2 */
00006A94 6514 bcs +0x16 /* 00006AAA */
00006A96 6100 F5C0 bsr -0xA3E /* 00006058 */
00006A9A 6100 FB3A bsr -0x4C4 /* 000065D6 */
00006A9E 6100 F6AE bsr -0x950 /* 0000614E */
00006AA2 6100 F5DA bsr -0xA24 /* 0000607E */
00006AA6 6100 F986 bsr -0x678 /* 0000642E */
label00006AAA:
00006AAA 6100 F71A bsr -0x8E4 /* 000061C6 */
00006AAE 6100 F780 bsr -0x87E /* 00006230 */
00006AB2 6100 F61C bsr -0x9E2 /* 000060D0 */
00006AB6 6100 F81A bsr -0x7E4 /* 000062D2 */
00006ABA 650A bcs +0xC /* 00006AC6 */
00006ABC 0A6D 8000 FDF6 xori.w [A5 - 0x20A], 0x8000
00006AC2 6100 F854 bsr -0x7AA /* 00006318 */
label00006AC6:
00006AC6 6100 F6FE bsr -0x900 /* 000061C6 */
00006ACA 6100 F604 bsr -0x9FA /* 000060D0 */
00006ACE 6100 F802 bsr -0x7FC /* 000062D2 */
00006AD2 650C bcs +0xE /* 00006AE0 */
00006AD4 6100 F6F0 bsr -0x90E /* 000061C6 */
00006AD8 6100 F756 bsr -0x8A8 /* 00006230 */
00006ADC 6100 F83A bsr -0x7C4 /* 00006318 */
label00006AE0:
00006AE0 6100 F6E4 bsr -0x91A /* 000061C6 */
00006AE4 6100 F77C bsr -0x882 /* 00006262 */
00006AE8 6100 F7E8 bsr -0x816 /* 000062D2 */
00006AEC 6428 bcc +0x2A /* 00006B16 */
00006AEE 6100 F4B2 bsr -0xB4C /* 00005FA2 */
00006AF2 FDC2 .extension 0xDC2 // unimplemented
00006AF4 6100 F822 bsr -0x7DC /* 00006318 */
00006AF8 6100 F5F8 bsr -0xA06 /* 000060F2 */
00006AFC 6100 F6F8 bsr -0x906 /* 000061F6 */
00006B00 7002 moveq.l D0, 0x02
00006B02 4EBA 0020 jsr [PC + 0x20 /* 00006B24 */]
00006B06 206D FDD2 movea.l A0, [A5 - 0x22E]
00006B0A 4A68 0006 tst.w [A0 + 0x6]
00006B0E 6704 beq +0x6 /* 00006B14 */
00006B10 30AD FDF6 move.w [A0], [A5 - 0x20A]
label00006B14:
00006B14 4E75 rts
label00006B16:
00006B16 206D FDD6 movea.l A0, [A5 - 0x22A]
00006B1A 30AD FDF6 move.w [A0], [A5 - 0x20A]
00006B1E 6100 F5C8 bsr -0xA36 /* 000060E8 */
00006B22 7003 moveq.l D0, 0x03
fn00006B24:
00006B24 3B40 FDF2 move.w [A5 - 0x20E], D0
00006B28 7202 moveq.l D1, 0x02
00006B2A 303C 0080 move.w D0, 0x80
label00006B2E:
00006B2E 3B41 FDF4 move.w [A5 - 0x20C], D1
00006B32 1B40 FDF0 move.b [A5 - 0x210], D0
00006B36 6100 F44C bsr -0xBB2 /* 00005F84 */
00006B3A FDDE .extension 0xDDE // unimplemented
label00006B3C:
00006B3C 6100 F446 bsr -0xBB8 /* 00005F84 */
00006B40 FDE2 .extension 0xDE2 // unimplemented
00006B42 6100 F5A4 bsr -0xA5A /* 000060E8 */
00006B46 6100 F8E6 bsr -0x718 /* 0000642E */
00006B4A 082D 0007 FDF0 btst.b [A5 - 0x210], 0x7
00006B50 6708 beq +0xA /* 00006B5A */
00006B52 206D FDD2 movea.l A0, [A5 - 0x22E]
00006B56 30BC 8000 move.w [A0], 0x8000
label00006B5A:
00006B5A 6100 F428 bsr -0xBD6 /* 00005F84 */
00006B5E FDE6 .extension 0xDE6 // unimplemented
fn00006B60:
00006B60 6100 F440 bsr -0xBBE /* 00005FA2 */
00006B64 FDE2 .extension 0xDE2 // unimplemented
00006B66 6100 F436 bsr -0xBC8 /* 00005F9E */
00006B6A FDE6 .extension 0xDE6 // unimplemented
00006B6C 6100 F8C0 bsr -0x73E /* 0000642E */
00006B70 082D 0000 FDF0 btst.b [A5 - 0x210], 0x0
00006B76 6706 beq +0x8 /* 00006B7E */
00006B78 6100 F40A bsr -0xBF4 /* 00005F84 */
00006B7C FDE2 .extension 0xDE2 // unimplemented
label00006B7E:
00006B7E 6100 F572 bsr -0xA8C /* 000060F2 */
00006B82 7000 moveq.l D0, 0x00
00006B84 302D FDF2 move.w D0, [A5 - 0x20E]
00006B88 322D FDF4 move.w D1, [A5 - 0x20C]
00006B8C D240 add.w D1, D0
00006B8E 3B41 FDF2 move.w [A5 - 0x20E], D1
00006B92 082D 0001 FDF0 btst.b [A5 - 0x210], 0x1
00006B98 6606 bne +0x8 /* 00006BA0 */
00006B9A 3200 move.w D1, D0
00006B9C 5341 subq.w D1, 1
00006B9E C0C1 mulu.w D0, D1
label00006BA0:
00006BA0 6100 F052 bsr -0xFAC /* 00005BF4 */
00006BA4 6100 FA2C bsr -0x5D2 /* 000065D2 */
00006BA8 082D 0000 FDF0 btst.b [A5 - 0x210], 0x0
00006BAE 6606 bne +0x8 /* 00006BB6 */
00006BB0 6100 F3D2 bsr -0xC2C /* 00005F84 */
00006BB4 FDE2 .extension 0xDE2 // unimplemented
label00006BB6:
00006BB6 082D 0002 FDF0 btst.b [A5 - 0x210], 0x2
00006BBC 6704 beq +0x6 /* 00006BC2 */
00006BBE 6100 F670 bsr -0x98E /* 00006230 */
label00006BC2:
00006BC2 6100 F3DA bsr -0xC24 /* 00005F9E */
00006BC6 FDDE .extension 0xDDE // unimplemented
00006BC8 6100 F494 bsr -0xB6A /* 0000605E */
00006BCC 6100 F75C bsr -0x8A2 /* 0000632A */
00006BD0 6100 F3B2 bsr -0xC4C /* 00005F84 */
00006BD4 FDDE .extension 0xDDE // unimplemented
00006BD6 6100 F4A6 bsr -0xB58 /* 0000607E */
00006BDA 6100 F71C bsr -0x8E2 /* 000062F8 */
00006BDE 6680 bne -0x7E /* 00006B60 */
00006BE0 4E75 rts
fn00006BE2:
00006BE2 6100 F5D0 bsr -0xA2E /* 000061B4 */
fn00006BE6:
00006BE6 6100 F476 bsr -0xB88 /* 0000605E */
00006BEA 6100 F4FC bsr -0xB02 /* 000060E8 */
00006BEE 6100 EF92 bsr -0x106C /* 00005B82 */
00006BF2 2F00 move.l -[A7], D0
00006BF4 4840 swap.w D0
00006BF6 3B40 FDF6 move.w [A5 - 0x20A], D0
00006BFA 4840 swap.w D0
00006BFC 4A80 tst.l D0
00006BFE 6A02 bpl +0x4 /* 00006C02 */
00006C00 4480 neg.l D0
label00006C02:
00006C02 2B40 FDF8 move.l [A5 - 0x208], D0
00006C06 201F move.l D0, [A7]+
00006C08 6100 EFEA bsr -0x1014 /* 00005BF4 */
00006C0C 6100 F706 bsr -0x8F8 /* 00006314 */
00006C10 6100 F46C bsr -0xB92 /* 0000607E */
00006C14 6100 F448 bsr -0xBB6 /* 0000605E */
00006C18 6100 F5DC bsr -0xA22 /* 000061F6 */
00006C1C 6100 F366 bsr -0xC98 /* 00005F84 */
00006C20 FDDE .extension 0xDDE // unimplemented
00006C22 6100 F4AC bsr -0xB52 /* 000060D0 */
label00006C26:
00006C26 6100 F35C bsr -0xCA2 /* 00005F84 */
00006C2A FDE2 .extension 0xDE2 // unimplemented
00006C2C 6100 F374 bsr -0xC8A /* 00005FA2 */
00006C30 FDDE .extension 0xDDE // unimplemented
00006C32 202D FDF8 move.l D0, [A5 - 0x208]
00006C36 672E beq +0x30 /* 00006C66 */
00006C38 E288 lsr D0, 1
00006C3A 6506 bcs +0x8 /* 00006C42 */
00006C3C 2B40 FDF8 move.l [A5 - 0x208], D0
00006C40 6014 bra +0x16 /* 00006C56 */
label00006C42:
00006C42 2B40 FDF8 move.l [A5 - 0x208], D0
00006C46 6100 F356 bsr -0xCA8 /* 00005F9E */
00006C4A FDE2 .extension 0xDE2 // unimplemented
00006C4C 6100 F7E0 bsr -0x81E /* 0000642E */
00006C50 6100 F332 bsr -0xCCC /* 00005F84 */
00006C54 FDDE .extension 0xDDE // unimplemented
label00006C56:
00006C56 6100 F34A bsr -0xCB4 /* 00005FA2 */
00006C5A FDE2 .extension 0xDE2 // unimplemented
00006C5C 6100 F494 bsr -0xB6A /* 000060F2 */
00006C60 6100 F7CC bsr -0x832 /* 0000642E */
00006C64 60C0 bra -0x3E /* 00006C26 */
label00006C66:
00006C66 302D FDF6 move.w D0, [A5 - 0x20A]
00006C6A 670C beq +0xE /* 00006C78 */
00006C6C 6100 F484 bsr -0xB7A /* 000060F2 */
00006C70 6100 F584 bsr -0xA7A /* 000061F6 */
00006C74 6100 F960 bsr -0x69E /* 000065D6 */
label00006C78:
00006C78 6100 F404 bsr -0xBFA /* 0000607E */
00006C7C 4E75 rts
00006C7E 2C1F move.l D6, [A7]+
00006C80 6100 F3FC bsr -0xC02 /* 0000607E */
00006C84 2F06 move.l -[A7], D6
00006C86 6100 F448 bsr -0xBB6 /* 000060D0 */
00006C8A 206D FDD6 movea.l A0, [A5 - 0x22A]
00006C8E 4A68 0006 tst.w [A0 + 0x6]
00006C92 6700 F562 beq -0xA9C /* 000061F6 */
00006C96 206D FDD2 movea.l A0, [A5 - 0x22E]
00006C9A 4A68 0006 tst.w [A0 + 0x6]
00006C9E 6700 F420 beq -0xBDE /* 000060C0 */
00006CA2 6100 F3BA bsr -0xC44 /* 0000605E */
00006CA6 6100 FF3E bsr -0xC0 /* 00006BE6 */
00006CAA 226D FDD6 movea.l A1, [A5 - 0x22A]
00006CAE 4A69 0006 tst.w [A1 + 0x6]
00006CB2 67C4 beq -0x3A /* 00006C78 */
00006CB4 6100 F41A bsr -0xBE4 /* 000060D0 */
00006CB8 6100 F2CA bsr -0xD34 /* 00005F84 */
00006CBC FDDE .extension 0xDDE // unimplemented
00006CBE 6100 F3B8 bsr -0xC46 /* 00006078 */
00006CC2 6100 F394 bsr -0xC6A /* 00006058 */
00006CC6 6100 F408 bsr -0xBF6 /* 000060D0 */
00006CCA 6100 F2D6 bsr -0xD28 /* 00005FA2 */
00006CCE FDDE .extension 0xDDE // unimplemented
00006CD0 6100 F38C bsr -0xC72 /* 0000605E */
00006CD4 6100 F3FA bsr -0xC04 /* 000060D0 */
00006CD8 6100 FC84 bsr -0x37A /* 0000695E */
00006CDC 6100 F748 bsr -0x8B6 /* 00006426 */
00006CE0 4EBA 000E jsr [PC + 0xE /* 00006CF0 */]
00006CE4 6100 F398 bsr -0xC66 /* 0000607E */
00006CE8 6000 F744 bra -0x8BA /* 0000642E */
00006CEC 6100 EF06 bsr -0x10F8 /* 00005BF4 */
fn00006CF0:
00006CF0 6100 FEF0 bsr -0x10E /* 00006BE2 */
00006CF4 6100 F368 bsr -0xC96 /* 0000605E */
00006CF8 6100 F3D6 bsr -0xC28 /* 000060D0 */
00006CFC 4EBA 000A jsr [PC + 0xA /* 00006D08 */]
00006D00 6100 F37C bsr -0xC82 /* 0000607E */
00006D04 6000 F728 bra -0x8D6 /* 0000642E */
fn00006D08:
00006D08 3F3C 0001 move.w -[A7], 0x1
label00006D0C:
00006D0C 206D FDD2 movea.l A0, [A5 - 0x22E]
00006D10 0C68 7FFF 0002 cmpi.w [A0 + 0x2], 0x7FFF
00006D16 6610 bne +0x12 /* 00006D28 */
00006D18 0C68 2000 0006 cmpi.w [A0 + 0x6], 0x2000 /* ' \0' */
00006D1E 6508 bcs +0xA /* 00006D28 */
00006D20 5257 addq.w [A7], 1
00006D22 6100 F53E bsr -0xAC0 /* 00006262 */
00006D26 60E4 bra -0x1A /* 00006D0C */
label00006D28:
00006D28 6100 F25A bsr -0xDA4 /* 00005F84 */
00006D2C FDE6 .extension 0xDE6 // unimplemented
00006D2E 6100 F254 bsr -0xDAA /* 00005F84 */
00006D32 FDE2 .extension 0xDE2 // unimplemented
00006D34 6100 F3BC bsr -0xC42 /* 000060F2 */
00006D38 6100 F4BC bsr -0xB42 /* 000061F6 */
00006D3C 6100 F5EC bsr -0xA12 /* 0000632A */
00006D40 6100 F242 bsr -0xDBC /* 00005F84 */
00006D44 FDDE .extension 0xDDE // unimplemented
00006D46 3B7C 0002 FDF2 move.w [A5 - 0x20E], 0x2
00006D4C 3B7C 0001 FDF4 move.w [A5 - 0x20C], 0x1
00006D52 1B7C 0002 FDF0 move.b [A5 - 0x210], 0x2
00006D58 6100 FE06 bsr -0x1F8 /* 00006B60 */
label00006D5C:
00006D5C 5357 subq.w [A7], 1
00006D5E 670A beq +0xC /* 00006D6A */
00006D60 6100 F390 bsr -0xC6E /* 000060F2 */
00006D64 6100 F6C8 bsr -0x936 /* 0000642E */
00006D68 60F2 bra -0xC /* 00006D5C */
label00006D6A:
00006D6A 548F addq.l A7, 2
00006D6C 4E75 rts
00006D6E 487A F2B8 pea.l [PC - 0xD48 /* 00006028, value 0x302DFDA8 */]
00006D72 487A F248 pea.l [PC - 0xDB8 /* 00005FBC, value 0x2F0A6100 '/\na\0' */]
00006D76 6022 bra +0x24 /* 00006D9A */
00006D78 487A F2AE pea.l [PC - 0xD52 /* 00006028, value 0x302DFDA8 */]
00006D7C 487A F23E pea.l [PC - 0xDC2 /* 00005FBC, value 0x2F0A6100 '/\na\0' */]
00006D80 2F08 move.l -[A7], A0
00006D82 6020 bra +0x22 /* 00006DA4 */
00006D84 487A F25C pea.l [PC - 0xDA4 /* 00005FE2, value 0x3A2DFDA4 */]
00006D88 487A F198 pea.l [PC - 0xE68 /* 00005F22, value 0x2F0A302D '/\n0-' */]
00006D8C 600C bra +0xE /* 00006D9A */
00006D8E 487A F252 pea.l [PC - 0xDAE /* 00005FE2, value 0x3A2DFDA4 */]
00006D92 487A F18E pea.l [PC - 0xE72 /* 00005F22, value 0x2F0A302D '/\n0-' */]
00006D96 2F08 move.l -[A7], A0
00006D98 600A bra +0xC /* 00006DA4 */
label00006D9A:
00006D9A 6100 F356 bsr -0xCA8 /* 000060F2 */
00006D9E 2F08 move.l -[A7], A0
00006DA0 6100 F454 bsr -0xBAA /* 000061F6 */
label00006DA4:
00006DA4 6100 F32A bsr -0xCD4 /* 000060D0 */
00006DA8 6100 F1DA bsr -0xE24 /* 00005F84 */
00006DAC FDDE .extension 0xDDE // unimplemented
00006DAE 206D FDD6 movea.l A0, [A5 - 0x22A]
00006DB2 3B50 FDF8 move.w [A5 - 0x208], [A0]
00006DB6 2057 movea.l A0, [A7]
00006DB8 226F 0008 movea.l A1, [A7 + 0x8]
00006DBC 4E91 jsr [A1]
00006DBE 6100 F56A bsr -0xA94 /* 0000632A */
00006DC2 205F movea.l A0, [A7]+
00006DC4 225F movea.l A1, [A7]+
00006DC6 588F addq.l A7, 4
00006DC8 4E91 jsr [A1]
00006DCA 6100 F1D2 bsr -0xE2C /* 00005F9E */
00006DCE FDDE .extension 0xDDE // unimplemented
00006DD0 4A6D FDF8 tst.w [A5 - 0x208]
00006DD4 6A00 F4FC bpl -0xB02 /* 000062D2 */
00006DD8 6000 F502 bra -0xAFC /* 000062DC */
00006DDC 0645 7272 addi.w D5, 0x7272 /* 'rr' */
00006DE0 6F72 ble +0x74 /* 00006E54 */
00006DE2 2E00 move.l D7, D0
label00006DE4:
00006DE4 41FA FFF6 lea.l A0, [PC - 0xA /* 00006DDC, value 0x6457272, pstring "Error." */]
00006DE8 4E71 nop
fn00006DEA:
00006DEA 43ED FDFC lea.l A1, [A5 - 0x204]
00006DEE 2649 movea.l A3, A1
00006DF0 7000 moveq.l D0, 0x00
00006DF2 1010 move.b D0, [A0]
00006DF4 3E00 move.w D7, D0
label00006DF6:
00006DF6 12D8 move.b [A1]+, [A0]+
00006DF8 51C8 FFFC dbf D0, -0x6 /* 00006DF6 */
00006DFC 224B movea.l A1, A3
00006DFE 204B movea.l A0, A3
00006E00 4E75 rts
00006E02 6104 bsr +0x6 /* 00006E08 */
00006E04 4EFA A514 jmp [PC - 0x5AEC /* 0000131A */]
fn00006E08:
00006E08 61E0 bsr -0x1E /* 00006DEA */
00006E0A 206D FDD2 movea.l A0, [A5 - 0x22E]
00006E0E 610E bsr +0x10 /* 00006E1E */
00006E10 202D FEF6 move.l D0, [A5 - 0x10A]
00006E14 6706 beq +0x8 /* 00006E1C */
00006E16 2240 movea.l A1, D0
00006E18 12AD FDEA move.b [A1], [A5 - 0x216]
label00006E1C:
00006E1C 4E75 rts
fn00006E1E:
00006E1E 246D FDDE movea.l A2, [A5 - 0x222]
00006E22 42AD FEF6 clr.l [A5 - 0x10A]
00006E26 702B moveq.l D0, 0x2B
00006E28 616A bsr +0x6C /* 00006E94 */
00006E2A 702D moveq.l D0, 0x2D
00006E2C 6166 bsr +0x68 /* 00006E94 */
00006E2E 702E moveq.l D0, 0x2E
00006E30 6172 bsr +0x74 /* 00006EA4 */
00006E32 6606 bne +0x8 /* 00006E3A */
00006E34 2B4B FEF6 move.l [A5 - 0x10A], A3
00006E38 6002 bra +0x4 /* 00006E3C */
label00006E3A:
00006E3A 7AFF moveq.l D5, 0xFFFFFFFF
label00006E3C:
00006E3C 3805 move.w D4, D5
00006E3E 7023 moveq.l D0, 0x23
00006E40 7200 moveq.l D1, 0x00
00006E42 7400 moveq.l D2, 0x00
00006E44 614E bsr +0x50 /* 00006E94 */
00006E46 669C bne -0x62 /* 00006DE4 */
label00006E48:
00006E48 BA44 cmp.w D5, D4
00006E4A 6402 bcc +0x4 /* 00006E4E */
00006E4C 5241 addq.w D1, 1
label00006E4E:
00006E4E 5242 addq.w D2, 1
00006E50 615E bsr +0x60 /* 00006EB0 */
00006E52 67F4 beq -0xA /* 00006E48 */
label00006E54:
00006E54 34C1 move.w [A2]+, D1
00006E56 34C2 move.w [A2]+, D2
00006E58 705E moveq.l D0, 0x5E
00006E5A 6138 bsr +0x3A /* 00006E94 */
00006E5C 660C bne +0xE /* 00006E6A */
00006E5E 7E03 moveq.l D7, 0x03
label00006E60:
00006E60 B01B cmp.b D0, [A3]+
00006E62 56CF FFFC dbne D7, -0x6 /* 00006E60 */
00006E66 6702 beq +0x4 /* 00006E6A */
00006E68 4262 clr.w -[A2]
label00006E6A:
00006E6A 246D FDDE movea.l A2, [A5 - 0x222]
00006E6E 4A50 tst.w [A0]
00006E70 6700 0160 beq +0x162 /* 00006FD2 */
00006E74 4AAA 0000 tst.l [A2 + 0x0]
00006E78 6600 0158 bne +0x15A /* 00006FD2 */
00006E7C 4A6A 0006 tst.w [A2 + 0x6]
00006E80 6700 FF62 beq -0x9C /* 00006DE4 */
00006E84 302A 0004 move.w D0, [A2 + 0x4]
00006E88 43ED FDFC lea.l A1, [A5 - 0x204]
00006E8C 13BC 002D 0000 move.b [A1 + D0.w], 0x2D /* '-' */
00006E92 608A bra -0x74 /* 00006E1E */
fn00006E94:
00006E94 610E bsr +0x10 /* 00006EA4 */
00006E96 6706 beq +0x8 /* 00006E9E */
00006E98 425A clr.w [A2]+
00006E9A 4A47 tst.w D7
00006E9C 4E75 rts
label00006E9E:
00006E9E 34C5 move.w [A2]+, D5
00006EA0 BA45 cmp.w D5, D5
00006EA2 4E75 rts
fn00006EA4:
00006EA4 47ED FDFC lea.l A3, [A5 - 0x204]
00006EA8 7A00 moveq.l D5, 0x00
00006EAA 3E05 move.w D7, D5
00006EAC 1E13 move.b D7, [A3]
00006EAE 5347 subq.w D7, 1
fn00006EB0:
00006EB0 528B addq.l A3, 1
00006EB2 5245 addq.w D5, 1
00006EB4 B013 cmp.b D0, [A3]
00006EB6 57CF FFF8 dbeq D7, -0xA /* 00006EB0 */
00006EBA 4E75 rts
fn00006EBC:
00006EBC 7023 moveq.l D0, 0x23
00006EBE 61E4 bsr -0x1A /* 00006EA4 */
00006EC0 224B movea.l A1, A3
00006EC2 B040 cmp.w D0, D0
00006EC4 6014 bra +0x16 /* 00006EDA */
label00006EC6:
00006EC6 0C2B 002E 0001 cmpi.b [A3 + 0x1], 0x2E /* '.' */
00006ECC 6606 bne +0x8 /* 00006ED4 */
00006ECE 16BC 0030 move.b [A3], 0x30 /* '0' */
00006ED2 6004 bra +0x6 /* 00006ED8 */
label00006ED4:
00006ED4 16BC 0020 move.b [A3], 0x20 /* ' ' */
label00006ED8:
00006ED8 61D6 bsr -0x28 /* 00006EB0 */
label00006EDA:
00006EDA 56C9 FFEA dbne D1, -0x18 /* 00006EC6 */
label00006EDE:
00006EDE B3CB cmpa.l A1, A3
00006EE0 6712 beq +0x14 /* 00006EF4 */
00006EE2 0C19 002C cmpi.b [A1]+, 0x2C /* ',' */
00006EE6 66F6 bne -0x8 /* 00006EDE */
00006EE8 133C 0020 move.b -[A1], 0x20 /* ' ' */
00006EEC 60F0 bra -0xE /* 00006EDE */
label00006EEE:
00006EEE 16BC 0030 move.b [A3], 0x30 /* '0' */
00006EF2 61BC bsr -0x42 /* 00006EB0 */
label00006EF4:
00006EF4 56CA FFF8 dbne D2, -0xA /* 00006EEE */
00006EF8 43E8 0006 lea.l A1, [A0 + 0x6]
00006EFC 7400 moveq.l D2, 0x00
00006EFE 6014 bra +0x16 /* 00006F14 */
label00006F00:
00006F00 51CA 0008 dbf D2, +0xA /* 00006F0A */
00006F04 3219 move.w D1, [A1]+
00006F06 4841 swap.w D1
00006F08 7403 moveq.l D2, 0x03
label00006F0A:
00006F0A 323C 0003 move.w D1, 0x3
00006F0E E999 rol D1, 4
00006F10 1681 move.b [A3], D1
00006F12 6112 bsr +0x14 /* 00006F26 */
label00006F14:
00006F14 56CB FFEA dbne D3, -0x18 /* 00006F00 */
00006F18 6006 bra +0x8 /* 00006F20 */
label00006F1A:
00006F1A 16BC 0030 move.b [A3], 0x30 /* '0' */
00006F1E 6106 bsr +0x8 /* 00006F26 */
label00006F20:
00006F20 56CC FFF8 dbne D4, -0xA /* 00006F1A */
00006F24 4E75 rts
fn00006F26:
00006F26 528B addq.l A3, 1
00006F28 5245 addq.w D5, 1
00006F2A 0C13 002C cmpi.b [A3], 0x2C /* ',' */
00006F2E 6604 bne +0x6 /* 00006F34 */
00006F30 16AD FDEB move.b [A3], [A5 - 0x215]
label00006F34:
00006F34 B013 cmp.b D0, [A3]
00006F36 57CF FFEE dbeq D7, -0x14 /* 00006F26 */
00006F3A 4E75 rts
fn00006F3C:
00006F3C 6602 bne +0x4 /* 00006F40 */
00006F3E 4E75 rts
label00006F40:
00006F40 43ED FDFC lea.l A1, [A5 - 0x204]
00006F44 43F1 2000 lea.l A1, [A1 + D2.w]
00006F48 1281 move.b [A1], D1
00006F4A 7220 moveq.l D1, 0x20
00006F4C 4A50 tst.w [A0]
00006F4E 6704 beq +0x6 /* 00006F54 */
00006F50 702D moveq.l D0, 0x2D
00006F52 1280 move.b [A1], D0
fn00006F54:
00006F54 6100 FF4E bsr -0xB0 /* 00006EA4 */
00006F58 6604 bne +0x6 /* 00006F5E */
00006F5A B645 cmp.w D3, D5
00006F5C 6402 bcc +0x4 /* 00006F60 */
label00006F5E:
00006F5E 4E75 rts
label00006F60:
00006F60 16C1 move.b [A3]+, D1
00006F62 0C13 0020 cmpi.b [A3], 0x20 /* ' ' */
00006F66 56CF FFF8 dbne D7, -0xA /* 00006F60 */
00006F6A 0C00 0024 cmpi.b D0, 0x24 /* '$' */
00006F6E 6604 bne +0x6 /* 00006F74 */
00006F70 102D FDED move.b D0, [A5 - 0x213]
label00006F74:
00006F74 1700 move.b -[A3], D0
00006F76 4E75 rts
label00006F78:
00006F78 6100 FF42 bsr -0xBC /* 00006EBC */
00006F7C 362A 0004 move.w D3, [A2 + 0x4]
00006F80 702B moveq.l D0, 0x2B
00006F82 722B moveq.l D1, 0x2B
00006F84 342A 0000 move.w D2, [A2 + 0x0]
00006F88 61B2 bsr -0x4C /* 00006F3C */
00006F8A 702D moveq.l D0, 0x2D
00006F8C 7220 moveq.l D1, 0x20
00006F8E 342A 0002 move.w D2, [A2 + 0x2]
00006F92 61A8 bsr -0x56 /* 00006F3C */
00006F94 7024 moveq.l D0, 0x24
00006F96 61BC bsr -0x42 /* 00006F54 */
00006F98 702A moveq.l D0, 0x2A
00006F9A 722A moveq.l D1, 0x2A
00006F9C 61B6 bsr -0x48 /* 00006F54 */
00006F9E 3E2A 000A move.w D7, [A2 + 0xA]
00006FA2 6728 beq +0x2A /* 00006FCC */
00006FA4 487A 001C pea.l [PC + 0x1C /* 00006FC2, value 0x10FC0020 */]
00006FA8 3C28 0002 move.w D6, [A0 + 0x2]
00006FAC 0446 7FFF subi.w D6, 0x7FFF
00006FB0 9C6A 0006 sub.w D6, [A2 + 0x6]
00006FB4 3F06 move.w -[A7], D6
00006FB6 41ED FDFC lea.l A0, [A5 - 0x204]
00006FBA 41F0 7000 lea.l A0, [A0 + D7.w]
00006FBE 6000 ED44 bra -0x12BA /* 00005D04 */
label00006FC2:
00006FC2 10FC 0020 move.b [A0]+, 0x20 /* ' ' */
00006FC6 0C10 005E cmpi.b [A0], 0x5E /* '^' */
00006FCA 67F6 beq -0x8 /* 00006FC2 */
label00006FCC:
00006FCC 41ED FDFC lea.l A0, [A5 - 0x204]
00006FD0 4E75 rts
label00006FD2:
00006FD2 7800 moveq.l D4, 0x00
00006FD4 3428 0002 move.w D2, [A0 + 0x2]
00006FD8 322A 0006 move.w D1, [A2 + 0x6]
00006FDC 362A 0008 move.w D3, [A2 + 0x8]
00006FE0 4A6A 000A tst.w [A2 + 0xA]
00006FE4 6712 beq +0x14 /* 00006FF8 */
00006FE6 7200 moveq.l D1, 0x00
00006FE8 7400 moveq.l D2, 0x00
00006FEA 4A68 0006 tst.w [A0 + 0x6]
00006FEE 662A bne +0x2C /* 0000701A */
00006FF0 317C 8000 0002 move.w [A0 + 0x2], 0x8000
00006FF6 6022 bra +0x24 /* 0000701A */
label00006FF8:
00006FF8 0442 8000 subi.w D2, 0x8000
00006FFC 6B10 bmi +0x12 /* 0000700E */
00006FFE 9441 sub.w D2, D1
00007000 6A00 FDE2 bpl -0x21C /* 00006DE4 */
00007004 4642 not.w D2
00007006 3202 move.w D1, D2
00007008 7400 moveq.l D2, 0x00
0000700A 9641 sub.w D3, D1
0000700C 600C bra +0xE /* 0000701A */
label0000700E:
0000700E 4642 not.w D2
00007010 9641 sub.w D3, D1
00007012 9642 sub.w D3, D2
00007014 6A04 bpl +0x6 /* 0000701A */
00007016 D443 add.w D2, D3
00007018 7600 moveq.l D3, 0x00
label0000701A:
0000701A 3A2D FDAE move.w D5, [A5 - 0x252]
0000701E 5445 addq.w D5, 2
00007020 BA43 cmp.w D5, D3
00007022 6A06 bpl +0x8 /* 0000702A */
00007024 3803 move.w D4, D3
00007026 3605 move.w D3, D5
00007028 9843 sub.w D4, D3
label0000702A:
0000702A 4A43 tst.w D3
0000702C 660C bne +0xE /* 0000703A */
0000702E 4A42 tst.w D2
00007030 6608 bne +0xA /* 0000703A */
00007032 4A41 tst.w D1
00007034 6704 beq +0x6 /* 0000703A */
00007036 5341 subq.w D1, 1
00007038 7401 moveq.l D2, 0x01
label0000703A:
0000703A 4A44 tst.w D4
0000703C 6644 bne +0x46 /* 00007082 */
0000703E 7000 moveq.l D0, 0x00
00007040 47ED FDF8 lea.l A3, [A5 - 0x208]
00007044 302D FDA6 move.w D0, [A5 - 0x25A]
00007048 E148 lsl D0.w, 8
0000704A 3E03 move.w D7, D3
0000704C E24F lsr D7.w, 1
0000704E 6402 bcc +0x4 /* 00007052 */
00007050 E848 lsr D0.w, 4
label00007052:
00007052 26C0 move.l [A3]+, D0
00007054 226D FDD2 movea.l A1, [A5 - 0x22E]
00007058 43F1 7008 lea.l A1, [A1 + D7.w + 0x8]
0000705C C30B abcd -[A1], -[A3]
0000705E C30B abcd -[A1], -[A3]
00007060 6006 bra +0x8 /* 00007068 */
label00007062:
00007062 C30B abcd -[A1], -[A3]
00007064 47EB 0001 lea.l A3, [A3 + 0x1]
label00007068:
00007068 54CF FFF8 dbcc D7, -0xA /* 00007062 */
0000706C 6414 bcc +0x16 /* 00007082 */
0000706E 2010 move.l D0, [A0]
00007070 6100 F04E bsr -0xFB0 /* 000060C0 */
00007074 5240 addq.w D0, 1
00007076 2080 move.l [A0], D0
00007078 317C 1000 0006 move.w [A0 + 0x6], 0x1000
0000707E 6000 FF52 bra -0xAC /* 00006FD2 */
label00007082:
00007082 6000 FEF4 bra -0x10A /* 00006F78 */
label00007086:
00007086 7C09 moveq.l D6, 0x09
00007088 47ED F4D4 lea.l A3, [A5 - 0xB2C]
label0000708C:
0000708C 4A93 tst.l [A3]
0000708E 6702 beq +0x4 /* 00007092 */
00007090 6108 bsr +0xA /* 0000709A */
label00007092:
00007092 588B addq.l A3, 4
00007094 51CE FFF6 dbf D6, -0xC /* 0000708C */
00007098 4E75 rts
fn0000709A:
0000709A 2053 movea.l A0, [A3]
0000709C 4293 clr.l [A3]
0000709E A023 syscall DisposHandle/DisposeHandle
000070A0 4E75 rts
000070A2 241F move.l D2, [A7]+
000070A4 2600 move.l D3, D0
000070A6 201F move.l D0, [A7]+
000070A8 221F move.l D1, [A7]+
000070AA 2F02 move.l -[A7], D2
000070AC 2F00 move.l -[A7], D0
000070AE 3003 move.w D0, D3
000070B0 5481 addq.l D1, 2
000070B2 4EBA 94B2 jsr [PC - 0x6B4E /* 00000566 */]
000070B6 2200 move.l D1, D0
000070B8 201F move.l D0, [A7]+
000070BA 6002 bra +0x4 /* 000070BE */
fn000070BC:
000070BC 7600 moveq.l D3, 0x00
label000070BE:
000070BE 4A80 tst.l D0
000070C0 6BC4 bmi -0x3A /* 00007086 */
000070C2 4A81 tst.l D1
000070C4 6BC0 bmi -0x3E /* 00007086 */
000070C6 0C40 000A cmpi.w D0, 0xA /* '\n' */
000070CA 6456 bcc +0x58 /* 00007122 */
000070CC E548 lsl D0.w, 2
000070CE 47ED F4D4 lea.l A3, [A5 - 0xB2C]
000070D2 47F3 0000 lea.l A3, [A3 + D0.w]
000070D6 4A93 tst.l [A3]
000070D8 6718 beq +0x1A /* 000070F2 */
000070DA 4A81 tst.l D1
000070DC 67BC beq -0x42 /* 0000709A */
000070DE 2053 movea.l A0, [A3]
000070E0 2050 movea.l A0, [A0]
000070E2 2028 0004 move.l D0, [A0 + 0x4]
000070E6 6A04 bpl +0x6 /* 000070EC */
000070E8 2028 0000 move.l D0, [A0 + 0x0]
label000070EC:
000070EC B280 cmp.l D1, D0
000070EE 6434 bcc +0x36 /* 00007124 */
000070F0 61A8 bsr -0x56 /* 0000709A */
label000070F2:
000070F2 4A81 tst.l D1
000070F4 672C beq +0x2E /* 00007122 */
000070F6 2E01 move.l D7, D1
000070F8 2001 move.l D0, D1
000070FA 0680 0000 000C addi.l D0, 0xC
00007100 A322 syscall NewHandleClear, flags=3
00007102 4A40 tst.w D0
00007104 661C bne +0x1E /* 00007122 */
00007106 2688 move.l [A3], A0
00007108 2250 movea.l A1, [A0]
0000710A 2347 0000 move.l [A1 + 0x0], D7
0000710E 42A9 0004 clr.l [A1 + 0x4]
00007112 42A9 0008 clr.l [A1 + 0x8]
00007116 4A43 tst.w D3
00007118 6708 beq +0xA /* 00007122 */
0000711A 50E9 0004 st [A1 + 0x4]
0000711E 3343 0006 move.w [A1 + 0x6], D3
label00007122:
00007122 4E75 rts
label00007124:
00007124 2053 movea.l A0, [A3]
00007126 2E01 move.l D7, D1
00007128 2001 move.l D0, D1
0000712A 0680 0000 000C addi.l D0, 0xC
00007130 A224 syscall SetHandleSize, flags=2
00007132 4A40 tst.w D0
00007134 6608 bne +0xA /* 0000713E */
00007136 2053 movea.l A0, [A3]
00007138 2250 movea.l A1, [A0]
0000713A 2347 0000 move.l [A1 + 0x0], D7
label0000713E:
0000713E 4E75 rts
00007140 4A80 tst.l D0
00007142 6B66 bmi +0x68 /* 000071AA */
00007144 80FC 000A divu.w D0, 0xA /* '\n' */
00007148 4840 swap.w D0
0000714A 6178 bsr +0x7A /* 000071C4 */
0000714C 6758 beq +0x5A /* 000071A6 */
0000714E 4240 clr.w D0
00007150 4840 swap.w D0
00007152 4A40 tst.w D0
00007154 661A bne +0x1C /* 00007170 */
00007156 2028 0004 move.l D0, [A0 + 0x4]
0000715A 6A0C bpl +0xE /* 00007168 */
0000715C 48C0 ext.l D0
0000715E 2228 0008 move.l D1, [A0 + 0x8]
00007162 5281 addq.l D1, 1
00007164 4EBA 9400 jsr [PC - 0x6C00 /* 00000566 */]
label00007168:
00007168 4480 neg.l D0
0000716A D0A8 0000 add.l D0, [A0 + 0x0]
0000716E 4E75 rts
label00007170:
00007170 5340 subq.w D0, 1
00007172 6606 bne +0x8 /* 0000717A */
00007174 2028 0008 move.l D0, [A0 + 0x8]
00007178 4E75 rts
label0000717A:
0000717A 5340 subq.w D0, 1
0000717C 6614 bne +0x16 /* 00007192 */
0000717E 2028 0004 move.l D0, [A0 + 0x4]
00007182 6A0C bpl +0xE /* 00007190 */
00007184 48C0 ext.l D0
00007186 2228 0008 move.l D1, [A0 + 0x8]
0000718A 5281 addq.l D1, 1
0000718C 4EBA 93D8 jsr [PC - 0x6C28 /* 00000566 */]
label00007190:
00007190 4E75 rts
label00007192:
00007192 5340 subq.w D0, 1
00007194 6606 bne +0x8 /* 0000719C */
00007196 2028 0000 move.l D0, [A0 + 0x0]
0000719A 4E75 rts
label0000719C:
0000719C 5340 subq.w D0, 1
0000719E 41F0 000C lea.l A0, [A0 + D0.w + 0xC]
000071A2 2008 move.l D0, A0
000071A4 4E75 rts
label000071A6:
000071A6 7000 moveq.l D0, 0x00
000071A8 4E75 rts
label000071AA:
000071AA 5280 addq.l D0, 1
000071AC 6606 bne +0x8 /* 000071B4 */
000071AE A11D syscall MaxMem, flags=1
000071B0 D088 add.l D0, A0
000071B2 4E75 rts
label000071B4:
000071B4 5280 addq.l D0, 1
000071B6 6604 bne +0x6 /* 000071BC */
000071B8 A01C syscall FreeMem
000071BA 4E75 rts
label000071BC:
000071BC 5580 subq.l D0, 2
000071BE 4480 neg.l D0
000071C0 A04C syscall CompactMem
000071C2 4E75 rts
fn000071C4:
000071C4 0C40 000A cmpi.w D0, 0xA /* '\n' */
000071C8 6416 bcc +0x18 /* 000071E0 */
000071CA E548 lsl D0.w, 2
000071CC 41ED F4D4 lea.l A0, [A5 - 0xB2C]
000071D0 4AB0 0000 tst.l [A0 + D0.w]
000071D4 670A beq +0xC /* 000071E0 */
000071D6 2270 0000 movea.l A1, [A0 + D0.w]
000071DA 2051 movea.l A0, [A1]
000071DC 4A91 tst.l [A1]
000071DE 4E75 rts
label000071E0:
000071E0 41FA 0006 lea.l A0, [PC + 0x6 /* 000071E8, value 0x61D8 */]
000071E4 7000 moveq.l D0, 0x00
000071E6 4E75 rts
000071E8 0000 61D8 ori.b D0, 0xD8
000071EC 671C beq +0x1E /* 0000720A */
000071EE 2018 move.l D0, [A0]+
000071F0 4A10 tst.b [A0]
000071F2 6A12 bpl +0x14 /* 00007206 */
000071F4 5448 addq.w A0, 2
000071F6 3218 move.w D1, [A0]+
000071F8 2010 move.l D0, [A0]
000071FA 4298 clr.l [A0]+
label000071FC:
000071FC 4210 clr.b [A0]
000071FE D0C1 add.w A0, D1
00007200 5380 subq.l D0, 1
00007202 6AF8 bpl -0x6 /* 000071FC */
00007204 4E75 rts
label00007206:
00007206 4298 clr.l [A0]+
00007208 4298 clr.l [A0]+
label0000720A:
0000720A 4E75 rts
0000720C 4EBA 010A jsr [PC + 0x10A /* 00007318 */]
00007210 654E bcs +0x50 /* 00007260 */
00007212 4A29 0004 tst.b [A1 + 0x4]
00007216 6B00 01EC bmi +0x1EE /* 00007404 */
0000721A 7000 moveq.l D0, 0x00
0000721C 7200 moveq.l D1, 0x00
0000721E 1210 move.b D1, [A0]
00007220 102D F87E move.b D0, [A5 - 0x782]
00007224 9081 sub.l D0, D1
00007226 602A bra +0x2C /* 00007252 */
00007228 4EBA 00EE jsr [PC + 0xEE /* 00007318 */]
0000722C 6532 bcs +0x34 /* 00007260 */
0000722E 2029 0004 move.l D0, [A1 + 0x4]
00007232 6A04 bpl +0x6 /* 00007238 */
00007234 48C0 ext.l D0
00007236 6016 bra +0x18 /* 0000724E */
label00007238:
00007238 7200 moveq.l D1, 0x00
0000723A 122D F87E move.b D1, [A5 - 0x782]
0000723E D280 add.l D1, D0
00007240 B2A9 0000 cmp.l D1, [A1 + 0x0]
00007244 641A bcc +0x1C /* 00007260 */
00007246 7000 moveq.l D0, 0x00
00007248 102D F87E move.b D0, [A5 - 0x782]
0000724C 5280 addq.l D0, 1
label0000724E:
0000724E 52A9 0008 addq.l [A1 + 0x8], 1
label00007252:
00007252 4EBA 0148 jsr [PC + 0x148 /* 0000739C */]
00007256 6508 bcs +0xA /* 00007260 */
00007258 4EFA 01AA jmp [PC + 0x1AA /* 00007404 */]
0000725C 53A9 0008 subq.l [A1 + 0x8], 1
label00007260:
00007260 426D F87E clr.w [A5 - 0x782]
00007264 4E75 rts
00007266 4EBA 0094 jsr [PC + 0x94 /* 000072FC */]
0000726A 651A bcs +0x1C /* 00007286 */
0000726C 2029 0004 move.l D0, [A1 + 0x4]
00007270 6A06 bpl +0x8 /* 00007278 */
00007272 48C0 ext.l D0
00007274 5380 subq.l D0, 1
00007276 6004 bra +0x6 /* 0000727C */
label00007278:
00007278 7000 moveq.l D0, 0x00
0000727A 1010 move.b D0, [A0]
label0000727C:
0000727C 4680 not.l D0
0000727E 4EBA 011C jsr [PC + 0x11C /* 0000739C */]
00007282 53A9 0008 subq.l [A1 + 0x8], 1
label00007286:
00007286 4E75 rts
00007288 2F08 move.l -[A7], A0
0000728A 2F01 move.l -[A7], D1
0000728C 4EBA 008A jsr [PC + 0x8A /* 00007318 */]
00007290 655E bcs +0x60 /* 000072F0 */
00007292 2E29 0008 move.l D7, [A1 + 0x8]
00007296 2C1F move.l D6, [A7]+
00007298 9E86 sub.l D7, D6
0000729A 265F movea.l A3, [A7]+
0000729C 1613 move.b D3, [A3]
0000729E 6754 beq +0x56 /* 000072F4 */
000072A0 7800 moveq.l D4, 0x00
000072A2 2A29 0004 move.l D5, [A1 + 0x4]
000072A6 6A24 bpl +0x26 /* 000072CC */
label000072A8:
000072A8 244B movea.l A2, A3
000072AA 7600 moveq.l D3, 0x00
000072AC 161A move.b D3, [A2]+
000072AE 43F0 5000 lea.l A1, [A0 + D5.w]
000072B2 1818 move.b D4, [A0]+
000072B4 B803 cmp.b D4, D3
000072B6 650A bcs +0xC /* 000072C2 */
000072B8 5343 subq.w D3, 1
label000072BA:
000072BA B508 cmpm.b [A2]+, [A0]+
000072BC 56CB FFFC dbne D3, -0x6 /* 000072BA */
000072C0 6736 beq +0x38 /* 000072F8 */
label000072C2:
000072C2 2049 movea.l A0, A1
000072C4 5286 addq.l D6, 1
000072C6 5387 subq.l D7, 1
000072C8 6CDE bge -0x20 /* 000072A8 */
000072CA 6028 bra +0x2A /* 000072F4 */
label000072CC:
000072CC 244B movea.l A2, A3
000072CE 7600 moveq.l D3, 0x00
000072D0 161A move.b D3, [A2]+
000072D2 1818 move.b D4, [A0]+
000072D4 43F0 4000 lea.l A1, [A0 + D4.w]
000072D8 B803 cmp.b D4, D3
000072DA 650A bcs +0xC /* 000072E6 */
000072DC 5343 subq.w D3, 1
label000072DE:
000072DE B508 cmpm.b [A2]+, [A0]+
000072E0 56CB FFFC dbne D3, -0x6 /* 000072DE */
000072E4 6712 beq +0x14 /* 000072F8 */
label000072E6:
000072E6 2049 movea.l A0, A1
000072E8 5286 addq.l D6, 1
000072EA 5387 subq.l D7, 1
000072EC 6EDE bgt -0x20 /* 000072CC */
000072EE 6004 bra +0x6 /* 000072F4 */
label000072F0:
000072F0 201F move.l D0, [A7]+
000072F2 205F movea.l A0, [A7]+
label000072F4:
000072F4 70FF moveq.l D0, 0xFFFFFFFF
000072F6 4E75 rts
label000072F8:
000072F8 2006 move.l D0, D6
000072FA 4E75 rts
fn000072FC:
000072FC 6100 FEC6 bsr -0x138 /* 000071C4 */
00007300 670C beq +0xE /* 0000730E */
00007302 4A28 0004 tst.b [A0 + 0x4]
00007306 6B16 bmi +0x18 /* 0000731E */
00007308 B2A8 0008 cmp.l D1, [A0 + 0x8]
0000730C 6510 bcs +0x12 /* 0000731E */
label0000730E:
0000730E 41FA FED8 lea.l A0, [PC - 0x128 /* 000071E8, value 0x61D8 */]
00007312 003C 00FF ori.b ccr, 255
00007316 4E75 rts
fn00007318:
00007318 6100 FEAA bsr -0x154 /* 000071C4 */
0000731C 67F0 beq -0xE /* 0000730E */
label0000731E:
0000731E 43E8 000C lea.l A1, [A0 + 0xC]
00007322 4A28 0004 tst.b [A0 + 0x4]
00007326 6A1C bpl +0x1E /* 00007344 */
00007328 B2A8 0008 cmp.l D1, [A0 + 0x8]
0000732C 6504 bcs +0x6 /* 00007332 */
0000732E 2141 0008 move.l [A0 + 0x8], D1
label00007332:
00007332 3028 0006 move.w D0, [A0 + 0x6]
00007336 48C0 ext.l D0
00007338 4EBA 922C jsr [PC - 0x6DD4 /* 00000566 */]
0000733C D3C0 add.l A1, D0
0000733E C149 exg A0, A1
00007340 7000 moveq.l D0, 0x00
00007342 4E75 rts
label00007344:
00007344 B2A8 0008 cmp.l D1, [A0 + 0x8]
00007348 6412 bcc +0x14 /* 0000735C */
0000734A 5281 addq.l D1, 1
0000734C 7400 moveq.l D2, 0x00
0000734E 6004 bra +0x6 /* 00007354 */
label00007350:
00007350 1419 move.b D2, [A1]+
00007352 D2C2 add.w A1, D2
label00007354:
00007354 5381 subq.l D1, 1
00007356 66F8 bne -0x6 /* 00007350 */
00007358 C149 exg A0, A1
0000735A 4E75 rts
label0000735C:
0000735C 4A81 tst.l D1
0000735E 6BAE bmi -0x50 /* 0000730E */
00007360 5281 addq.l D1, 1
00007362 2401 move.l D2, D1
00007364 94A8 0008 sub.l D2, [A0 + 0x8]
00007368 2802 move.l D4, D2
0000736A D4A8 0004 add.l D2, [A0 + 0x4]
0000736E B4A8 0000 cmp.l D2, [A0 + 0x0]
00007372 649A bcc -0x64 /* 0000730E */
00007374 2141 0008 move.l [A0 + 0x8], D1
00007378 2628 0004 move.l D3, [A0 + 0x4]
0000737C 2142 0004 move.l [A0 + 0x4], D2
00007380 43F0 380C lea.l A1, [A0 + D3 + 0xC]
label00007384:
00007384 5384 subq.l D4, 1
00007386 6704 beq +0x6 /* 0000738C */
00007388 4219 clr.b [A1]+
0000738A 60F8 bra -0x6 /* 00007384 */
label0000738C:
0000738C 4211 clr.b [A1]
0000738E C149 exg A0, A1
00007390 4E75 rts
label00007392:
00007392 205F movea.l A0, [A7]+
00007394 225F movea.l A1, [A7]+
00007396 003C 00FF ori.b ccr, 255
label0000739A:
0000739A 4E75 rts
fn0000739C:
0000739C 2229 0004 move.l D1, [A1 + 0x4]
000073A0 6A14 bpl +0x16 /* 000073B6 */
000073A2 2F00 move.l -[A7], D0
000073A4 48C1 ext.l D1
000073A6 2029 0008 move.l D0, [A1 + 0x8]
000073AA 5280 addq.l D0, 1
000073AC 4EBA 91B8 jsr [PC - 0x6E48 /* 00000566 */]
000073B0 5380 subq.l D0, 1
000073B2 2200 move.l D1, D0
000073B4 201F move.l D0, [A7]+
label000073B6:
000073B6 2601 move.l D3, D1
000073B8 4A80 tst.l D0
000073BA 67DE beq -0x20 /* 0000739A */
000073BC 45E9 000C lea.l A2, [A1 + 0xC]
000073C0 220A move.l D1, A2
000073C2 D283 add.l D1, D3
000073C4 2F09 move.l -[A7], A1
000073C6 2F08 move.l -[A7], A0
000073C8 4A80 tst.l D0
000073CA 6A10 bpl +0x12 /* 000073DC */
000073CC 2429 0004 move.l D2, [A1 + 0x4]
000073D0 6A04 bpl +0x6 /* 000073D6 */
000073D2 48C2 ext.l D2
000073D4 6004 bra +0x6 /* 000073DA */
label000073D6:
000073D6 7400 moveq.l D2, 0x00
000073D8 1418 move.b D2, [A0]+
label000073DA:
000073DA D1C2 add.l A0, D2
label000073DC:
000073DC 2400 move.l D2, D0
000073DE D483 add.l D2, D3
000073E0 B4A9 0000 cmp.l D2, [A1 + 0x0]
000073E4 62AC bhi -0x52 /* 00007392 */
000073E6 4AA9 0004 tst.l [A1 + 0x4]
000073EA 6B04 bmi +0x6 /* 000073F0 */
000073EC 2342 0004 move.l [A1 + 0x4], D2
label000073F0:
000073F0 2248 movea.l A1, A0
000073F2 D3C0 add.l A1, D0
000073F4 9288 sub.l D1, A0
000073F6 6704 beq +0x6 /* 000073FC */
000073F8 2001 move.l D0, D1
000073FA A02E syscall BlockMove/BlockMoveData
label000073FC:
000073FC 205F movea.l A0, [A7]+
000073FE 225F movea.l A1, [A7]+
00007400 B040 cmp.w D0, D0
00007402 4E75 rts
label00007404:
00007404 45ED F87E lea.l A2, [A5 - 0x782]
00007408 7000 moveq.l D0, 0x00
0000740A 1012 move.b D0, [A2]
label0000740C:
0000740C 10DA move.b [A0]+, [A2]+
0000740E 51C8 FFFC dbf D0, -0x6 /* 0000740C */
00007412 426D F87E clr.w [A5 - 0x782]
00007416 4E75 rts
00007418 1B40 F64B move.b [A5 - 0x9B5], D0
export_39:
0000741C 205F movea.l A0, [A7]+
0000741E 2B48 F52C move.l [A5 - 0xAD4], A0
00007422 2B4F F530 move.l [A5 - 0xAD0], A7
00007426 4ED0 jmp [A0]
fn00007428:
00007428 4877 0004 pea.l [A7 + D0.w + 0x4]
0000742C 6004 bra +0x6 /* 00007432 */
fn0000742E:
0000742E 486F 0008 pea.l [A7 + 0x8]
label00007432:
00007432 2B5F F530 move.l [A5 - 0xAD0], [A7]+
00007436 2B6F 0004 F52C move.l [A5 - 0xAD4], [A7 + 0x4]
0000743C 4E75 rts
0000743E 265F movea.l A3, [A7]+
00007440 285F movea.l A4, [A7]+
00007442 301F move.w D0, [A7]+
00007444 2F0B move.l -[A7], A3
00007446 4294 clr.l [A4]
00007448 61E4 bsr -0x1A /* 0000742E */
0000744A 7E04 moveq.l D7, 0x04
0000744C 45ED F5F6 lea.l A2, [A5 - 0xA0A]
00007450 4EBA 0096 jsr [PC + 0x96 /* 000074E8 */]
00007454 A002 syscall Read
00007456 6600 02BA bne +0x2BC /* 00007712 */
0000745A 2E2D F5F6 move.l D7, [A5 - 0xA0A]
0000745E 671A beq +0x1C /* 0000747A */
00007460 2F08 move.l -[A7], A0
00007462 2007 move.l D0, D7
00007464 A122 syscall NewHandle, flags=1
00007466 225F movea.l A1, [A7]+
00007468 6600 02A8 bne +0x2AA /* 00007712 */
0000746C 2888 move.l [A4], A0
0000746E 2350 0020 move.l [A1 + 0x20], [A0]
00007472 2347 0024 move.l [A1 + 0x24], D7
00007476 2049 movea.l A0, A1
00007478 604E bra +0x50 /* 000074C8 */
label0000747A:
0000747A 4E75 rts
0000747C 265F movea.l A3, [A7]+
0000747E 285F movea.l A4, [A7]+
00007480 361F move.w D3, [A7]+
00007482 2F0B move.l -[A7], A3
00007484 61A8 bsr -0x56 /* 0000742E */
00007486 42AD F5F6 clr.l [A5 - 0xA0A]
0000748A 2014 move.l D0, [A4]
0000748C 6708 beq +0xA /* 00007496 */
0000748E 2040 movea.l A0, D0
00007490 A025 syscall GetHandleSize
00007492 2B40 F5F6 move.l [A5 - 0xA0A], D0
label00007496:
00007496 3003 move.w D0, D3
00007498 45ED F5F6 lea.l A2, [A5 - 0xA0A]
0000749C 7E04 moveq.l D7, 0x04
0000749E 6148 bsr +0x4A /* 000074E8 */
000074A0 A003 syscall Write
000074A2 6600 026E bne +0x270 /* 00007712 */
000074A6 2254 movea.l A1, [A4]
000074A8 216D F5F6 0024 move.l [A0 + 0x24], [A5 - 0xA0A]
000074AE 6706 beq +0x8 /* 000074B6 */
000074B0 2151 0020 move.l [A0 + 0x20], [A1]
000074B4 602A bra +0x2C /* 000074E0 */
label000074B6:
000074B6 4E75 rts
000074B8 265F movea.l A3, [A7]+
000074BA 2E1F move.l D7, [A7]+
000074BC 245F movea.l A2, [A7]+
000074BE 301F move.w D0, [A7]+
000074C0 2F0B move.l -[A7], A3
000074C2 6100 FF6A bsr -0x94 /* 0000742E */
000074C6 6120 bsr +0x22 /* 000074E8 */
label000074C8:
000074C8 A002 syscall Read
000074CA 6600 0246 bne +0x248 /* 00007712 */
000074CE 4E75 rts
000074D0 265F movea.l A3, [A7]+
000074D2 2E1F move.l D7, [A7]+
000074D4 245F movea.l A2, [A7]+
000074D6 301F move.w D0, [A7]+
000074D8 2F0B move.l -[A7], A3
000074DA 6100 FF52 bsr -0xAC /* 0000742E */
000074DE 6108 bsr +0xA /* 000074E8 */
label000074E0:
000074E0 A003 syscall Write
000074E2 6600 022E bne +0x230 /* 00007712 */
000074E6 4E75 rts
fn000074E8:
000074E8 226D F744 movea.l A1, [A5 - 0x8BC]
000074EC 4A40 tst.w D0
000074EE 6B00 0218 bmi +0x21A /* 00007708 */
000074F2 3B40 F742 move.w [A5 - 0x8BE], D0
000074F6 E948 lsl D0.w, 4
000074F8 4AB1 0000 tst.l [A1 + D0.w]
000074FC 6700 0202 beq +0x204 /* 00007700 */
00007500 43F1 0000 lea.l A1, [A1 + D0.w]
00007504 2051 movea.l A0, [A1]
00007506 4268 002C clr.w [A0 + 0x2C]
0000750A 214A 0020 move.l [A0 + 0x20], A2
0000750E 2147 0024 move.l [A0 + 0x24], D7
00007512 6702 beq +0x4 /* 00007516 */
00007514 4E75 rts
label00007516:
00007516 588F addq.l A7, 4
00007518 4ED3 jmp [A3]
0000751A 265F movea.l A3, [A7]+
0000751C 205F movea.l A0, [A7]+
0000751E A20C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=2
00007520 4ED3 jmp [A3]
00007522 265F movea.l A3, [A7]+
00007524 205F movea.l A0, [A7]+
00007526 A20D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo, flags=2
00007528 4ED3 jmp [A3]
0000752A 265F movea.l A3, [A7]+
0000752C 205F movea.l A0, [A7]+
0000752E A207 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
00007530 4ED3 jmp [A3]
00007532 3F3C 0001 move.w -[A7], 0x1
00007536 A895 syscall ShutDown
00007538 4E75 rts
0000753A 7000 moveq.l D0, 0x00
0000753C 43ED FDBA lea.l A1, [A5 - 0x246]
00007540 1018 move.b D0, [A0]+
00007542 0C40 0004 cmpi.w D0, 0x4
00007546 660A bne +0xC /* 00007552 */
label00007548:
00007548 5340 subq.w D0, 1
label0000754A:
0000754A 12D8 move.b [A1]+, [A0]+
0000754C 51C8 FFFC dbf D0, -0x6 /* 0000754A */
00007550 4E75 rts
label00007552:
00007552 0C40 0008 cmpi.w D0, 0x8
00007556 67F0 beq -0xE /* 00007548 */
00007558 4E75 rts
label0000755A:
0000755A 4440 neg.w D0
0000755C 3140 0016 move.w [A0 + 0x16], D0
00007560 A00E syscall UnmountVol/HUnmountVol
00007562 6624 bne +0x26 /* 00007588 */
00007564 A035 syscall OffLine/Offline
00007566 6620 bne +0x22 /* 00007588 */
00007568 A017 syscall Eject
0000756A 661C bne +0x1E /* 00007588 */
0000756C A013 syscall FlushVol
0000756E 6018 bra +0x1A /* 00007588 */
00007570 9EFC 0080 sub.w A7, 0x80
00007574 204F movea.l A0, A7
00007576 42A8 0012 clr.l [A0 + 0x12]
0000757A 4A40 tst.w D0
0000757C 6BDC bmi -0x22 /* 0000755A */
0000757E 3140 0016 move.w [A0 + 0x16], D0
00007582 A035 syscall OffLine/Offline
00007584 6602 bne +0x4 /* 00007588 */
00007586 A017 syscall Eject
label00007588:
00007588 DEFC 0080 add.w A7, 0x80
0000758C 4E75 rts
0000758E 6100 FE9E bsr -0x160 /* 0000742E */
00007592 3B40 F546 move.w [A5 - 0xABA], D0
00007596 426D F742 clr.w [A5 - 0x8BE]
0000759A 2B48 F97E move.l [A5 - 0x682], A0
0000759E 203C 0000 0100 move.l D0, 0x100
000075A4 A31E syscall NewPtrClear, flags=3
000075A6 6600 0176 bne +0x178 /* 0000771E */
000075AA 302D F546 move.w D0, [A5 - 0xABA]
000075AE 6712 beq +0x14 /* 000075C2 */
000075B0 3140 0016 move.w [A0 + 0x16], D0
000075B4 42A8 0012 clr.l [A0 + 0x12]
000075B8 42A8 0030 clr.l [A0 + 0x30]
000075BC A215 syscall SetVol/PBHSetVol/HSetVol, flags=2
000075BE 6600 015E bne +0x160 /* 0000771E */
label000075C2:
000075C2 4268 0016 clr.w [A0 + 0x16]
000075C6 216D F97E 0012 move.l [A0 + 0x12], [A5 - 0x682]
000075CC 4228 001A clr.b [A0 + 0x1A]
000075D0 4268 001C clr.w [A0 + 0x1C]
000075D4 42A8 0030 clr.l [A0 + 0x30]
000075D8 A20C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=2
000075DA 6710 beq +0x12 /* 000075EC */
000075DC 0C40 FFD5 cmpi.w D0, 0xFFD5
000075E0 6724 beq +0x26 /* 00007606 */
label000075E2:
000075E2 3F00 move.w -[A7], D0
000075E4 A01F syscall DisposPtr/DisposePtr
000075E6 201F move.l D0, [A7]+
000075E8 4EFA 0128 jmp [PC + 0x128 /* 00007712 */]
label000075EC:
000075EC 2628 0020 move.l D3, [A0 + 0x20]
000075F0 A01F syscall DisposPtr/DisposePtr
000075F2 41ED F97E lea.l A0, [A5 - 0x682]
000075F6 4268 0004 clr.w [A0 + 0x4]
000075FA 0C83 4150 504C cmpi.l D3, 0x4150504C /* 'APPL' */
00007600 66E0 bne -0x1E /* 000075E2 */
00007602 A9F2 syscall Launch/LaunchApplication
00007604 4E75 rts
label00007606:
00007606 A01F syscall DisposPtr/DisposePtr
00007608 4EFA 00F2 jmp [PC + 0xF2 /* 000076FC */]
0000760C 6100 FE20 bsr -0x1DE /* 0000742E */
00007610 2F08 move.l -[A7], A0
00007612 3F00 move.w -[A7], D0
00007614 707F moveq.l D0, 0x7F
00007616 A31E syscall NewPtrClear, flags=3
00007618 6706 beq +0x8 /* 00007620 */
0000761A 5C8F addq.l A7, 6
0000761C 4EFA 0100 jmp [PC + 0x100 /* 0000771E */]
label00007620:
00007620 315F 0016 move.w [A0 + 0x16], [A7]+
00007624 215F 0012 move.l [A0 + 0x12], [A7]+
00007628 4EBA 0268 jsr [PC + 0x268 /* 00007892 */]
0000762C 3F00 move.w -[A7], D0
0000762E 42A8 0012 clr.l [A0 + 0x12]
00007632 A013 syscall FlushVol
00007634 A01F syscall DisposPtr/DisposePtr
00007636 301F move.w D0, [A7]+
00007638 670C beq +0xE /* 00007646 */
0000763A 0C40 FFD5 cmpi.w D0, 0xFFD5
0000763E 6700 00BC beq +0xBE /* 000076FC */
00007642 4EFA 00CE jmp [PC + 0xCE /* 00007712 */]
label00007646:
00007646 4E75 rts
00007648 6100 FDE4 bsr -0x21A /* 0000742E */
0000764C 48E7 00C0 movem.l -[A7], A0,A1
00007650 3F00 move.w -[A7], D0
00007652 203C 0000 0100 move.l D0, 0x100
00007658 A31E syscall NewPtrClear, flags=3
0000765A 6708 beq +0xA /* 00007664 */
0000765C 3B40 F73E move.w [A5 - 0x8C2], D0
00007660 4EFA 00BC jmp [PC + 0xBC /* 0000771E */]
label00007664:
00007664 315F 0016 move.w [A0 + 0x16], [A7]+
00007668 215F 001C move.l [A0 + 0x1C], [A7]+
0000766C 215F 0012 move.l [A0 + 0x12], [A7]+
00007670 4EBA 020A jsr [PC + 0x20A /* 0000787C */]
00007674 6714 beq +0x16 /* 0000768A */
00007676 3B40 F73E move.w [A5 - 0x8C2], D0
0000767A 0C40 FFD5 cmpi.w D0, 0xFFD5
0000767E 6606 bne +0x8 /* 00007686 */
00007680 487A 007A pea.l [PC + 0x7A /* 000076FC, value 0x70036022 */]
00007684 6004 bra +0x6 /* 0000768A */
label00007686:
00007686 487A 008A pea.l [PC + 0x8A /* 00007712, value 0x3B40F73E */]
label0000768A:
0000768A 3F00 move.w -[A7], D0
0000768C A01F syscall DisposPtr/DisposePtr
0000768E 301F move.w D0, [A7]+
00007690 4E75 rts
00007692 426D F740 clr.w [A5 - 0x8C0]
00007696 1B40 F741 move.b [A5 - 0x8BF], D0
0000769A 426D F742 clr.w [A5 - 0x8BE]
0000769E E058 ror D0.w, 8
000076A0 1B40 F743 move.b [A5 - 0x8BD], D0
000076A4 4E75 rts
000076A6 7000 moveq.l D0, 0x00
000076A8 4A2D F741 tst.b [A5 - 0x8BF]
000076AC 670A beq +0xC /* 000076B8 */
000076AE 102D F743 move.b D0, [A5 - 0x8BD]
000076B2 E058 ror D0.w, 8
000076B4 102D F741 move.b D0, [A5 - 0x8BF]
label000076B8:
000076B8 4E75 rts
export_50:
000076BA 6100 FD72 bsr -0x28C /* 0000742E */
000076BE 3B40 F742 move.w [A5 - 0x8BE], D0
000076C2 6B00 0044 bmi +0x46 /* 00007708 */
000076C6 E948 lsl D0.w, 4
000076C8 206D F744 movea.l A0, [A5 - 0x8BC]
000076CC 4AB0 0000 tst.l [A0 + D0.w]
000076D0 6700 0036 beq +0x38 /* 00007708 */
000076D4 2070 0000 movea.l A0, [A0 + D0.w]
000076D8 A011 syscall GetEOF
000076DA 6600 0036 bne +0x38 /* 00007712 */
000076DE 2428 001C move.l D2, [A0 + 0x1C]
000076E2 A018 syscall GetFPos
000076E4 6600 002C bne +0x2E /* 00007712 */
000076E8 7000 moveq.l D0, 0x00
000076EA B4A8 002E cmp.l D2, [A0 + 0x2E]
000076EE 6602 bne +0x4 /* 000076F2 */
000076F0 5380 subq.l D0, 1
label000076F2:
000076F2 4E75 rts
label000076F4:
000076F4 7001 moveq.l D0, 0x01
000076F6 602A bra +0x2C /* 00007722 */
label000076F8:
000076F8 7002 moveq.l D0, 0x02
000076FA 6026 bra +0x28 /* 00007722 */
label000076FC:
000076FC 7003 moveq.l D0, 0x03
000076FE 6022 bra +0x24 /* 00007722 */
label00007700:
00007700 7004 moveq.l D0, 0x04
00007702 601E bra +0x20 /* 00007722 */
label00007704:
00007704 7005 moveq.l D0, 0x05
00007706 601A bra +0x1C /* 00007722 */
label00007708:
00007708 303C 0006 move.w D0, 0x6
0000770C 6014 bra +0x16 /* 00007722 */
label0000770E:
0000770E 7009 moveq.l D0, 0x09
00007710 6010 bra +0x12 /* 00007722 */
label00007712:
00007712 3B40 F73E move.w [A5 - 0x8C2], D0
label00007716:
00007716 700A moveq.l D0, 0x0A
00007718 6008 bra +0xA /* 00007722 */
label0000771A:
0000771A 3B40 F73E move.w [A5 - 0x8C2], D0
label0000771E:
0000771E 303C 000B move.w D0, 0xB
label00007722:
00007722 3B40 F740 move.w [A5 - 0x8C0], D0
00007726 4A6D F740 tst.w [A5 - 0x8C0]
0000772A 6712 beq +0x14 /* 0000773E */
0000772C 2E6D F530 movea.l A7, [A5 - 0xAD0]
00007730 2F2D F52C move.l -[A7], [A5 - 0xAD4]
00007734 4AAD F55E tst.l [A5 - 0xAA2]
00007738 6706 beq +0x8 /* 00007740 */
0000773A 2F2D F55E move.l -[A7], [A5 - 0xAA2]
label0000773E:
0000773E 4E75 rts
label00007740:
00007740 7000 moveq.l D0, 0x00
00007742 302D F742 move.w D0, [A5 - 0x8BE]
00007746 E148 lsl D0.w, 8
00007748 102D F741 move.b D0, [A5 - 0x8BF]
0000774C 426D F740 clr.w [A5 - 0x8C0]
00007750 41ED FDFC lea.l A0, [A5 - 0x204]
00007754 4EBA 0036 jsr [PC + 0x36 /* 0000778C */]
00007758 2F08 move.l -[A7], A0
0000775A 41ED FE7C lea.l A0, [A5 - 0x184]
0000775E 302D F73E move.w D0, [A5 - 0x8C2]
00007762 48C0 ext.l D0
00007764 4267 clr.w -[A7]
00007766 A9EE syscall Pack7/DecStr68K
00007768 4850 pea.l [A0]
0000776A 487A 128A pea.l [PC + 0x128A /* 000089F6, value 0x42E */]
0000776E 487A 1286 pea.l [PC + 0x1286 /* 000089F6, value 0x42E */]
00007772 A98B syscall ParamText
00007774 4267 clr.w -[A7]
00007776 3F3C 0096 move.w -[A7], 0x96
0000777A 42A7 clr.l -[A7]
0000777C A986 syscall StopAlert
0000777E 301F move.w D0, [A7]+
00007780 0C40 0002 cmpi.w D0, 0x2
00007784 6602 bne +0x4 /* 00007788 */
00007786 4E75 rts
label00007788:
00007788 4EFA 8A78 jmp [PC - 0x7588 /* 00000202 */]
fn0000778C:
0000778C 2448 movea.l A2, A0
0000778E 4218 clr.b [A0]+
00007790 3F00 move.w -[A7], D0
00007792 0240 00FF andi.w D0, 0xFF
00007796 6708 beq +0xA /* 000077A0 */
00007798 0C40 000C cmpi.w D0, 0xC
0000779C 6502 bcs +0x4 /* 000077A0 */
0000779E 700A moveq.l D0, 0x0A
label000077A0:
000077A0 7209 moveq.l D1, 0x09
000077A2 D240 add.w D1, D0
000077A4 6122 bsr +0x24 /* 000077C8 */
000077A6 7208 moveq.l D1, 0x08
000077A8 611E bsr +0x20 /* 000077C8 */
000077AA 301F move.w D0, [A7]+
000077AC E048 lsr D0.w, 8
000077AE 4880 ext.w D0
000077B0 48C0 ext.l D0
000077B2 6710 beq +0x12 /* 000077C4 */
000077B4 7207 moveq.l D1, 0x07
000077B6 6110 bsr +0x12 /* 000077C8 */
000077B8 1620 move.b D3, -[A0]
000077BA 4267 clr.w -[A7]
000077BC A9EE syscall Pack7/DecStr68K
000077BE 1010 move.b D0, [A0]
000077C0 1083 move.b [A0], D3
000077C2 D112 add.b [A2], D0
label000077C4:
000077C4 204A movea.l A0, A2
000077C6 4E75 rts
fn000077C8:
000077C8 48E7 8080 movem.l -[A7], D0,A0
000077CC 303C 00C3 move.w D0, 0xC3
000077D0 4EBA 9D7E jsr [PC - 0x6282 /* 00001550 */]
000077D4 2248 movea.l A1, A0
000077D6 4CDF 0101 movem.l D0,A0, [A7]+
000077DA 1219 move.b D1, [A1]+
000077DC 6708 beq +0xA /* 000077E6 */
000077DE D312 add.b [A2], D1
label000077E0:
000077E0 10D9 move.b [A0]+, [A1]+
000077E2 5301 subq.b D1, 1
000077E4 66FA bne -0x4 /* 000077E0 */
label000077E6:
000077E6 4E75 rts
export_43:
000077E8 7012 moveq.l D0, 0x12
000077EA 6100 FC3C bsr -0x3C2 /* 00007428 */
000077EE 322F 000E move.w D1, [A7 + 0xE]
000077F2 3B41 F742 move.w [A5 - 0x8BE], D1
000077F6 6A04 bpl +0x6 /* 000077FC */
label000077F8:
000077F8 4EFA FF0E jmp [PC - 0xF2 /* 00007708 */]
label000077FC:
000077FC 4EBA 0DDA jsr [PC + 0xDDA /* 000085D8 */]
00007800 6404 bcc +0x6 /* 00007806 */
00007802 4EFA FF1A jmp [PC - 0xE6 /* 0000771E */]
label00007806:
00007806 E949 lsl D1.w, 4
00007808 246D F744 movea.l A2, [A5 - 0x8BC]
0000780C 45F2 1000 lea.l A2, [A2 + D1.w]
00007810 4A92 tst.l [A2]
00007812 66E4 bne -0x1A /* 000077F8 */
00007814 256F 0006 0004 move.l [A2 + 0x4], [A7 + 0x6]
0000781A 336F 0004 0016 move.w [A1 + 0x16], [A7 + 0x4]
00007820 236F 000A 0012 move.l [A1 + 0x12], [A7 + 0xA]
00007826 137C 0001 001B move.b [A1 + 0x1B], 0x1
0000782C 2049 movea.l A0, A1
0000782E 43E9 0100 lea.l A1, [A1 + 0x100]
00007832 2149 001C move.l [A0 + 0x1C], A1
00007836 102F 0010 move.b D0, [A7 + 0x10]
0000783A 2F57 000E move.l [A7 + 0xE], [A7]
0000783E 4FEF 000E lea.l A7, [A7 + 0xE]
00007842 4A00 tst.b D0
00007844 661C bne +0x1E /* 00007862 */
label00007846:
00007846 4EBA 001E jsr [PC + 0x1E /* 00007866 */]
label0000784A:
0000784A 6604 bne +0x6 /* 00007850 */
0000784C 2488 move.l [A2], A0
0000784E 4E75 rts
label00007850:
00007850 3F00 move.w -[A7], D0
00007852 A01F syscall DisposPtr/DisposePtr
00007854 301F move.w D0, [A7]+
00007856 0C40 FFD5 cmpi.w D0, 0xFFD5
0000785A 6700 FEA0 beq -0x15E /* 000076FC */
0000785E 6000 FEB2 bra -0x14C /* 00007712 */
label00007862:
00007862 6144 bsr +0x46 /* 000078A8 */
00007864 60E4 bra -0x1A /* 0000784A */
fn00007866:
00007866 202D F540 move.l D0, [A5 - 0xAC0]
0000786A 670C beq +0xE /* 00007878 */
0000786C 2140 0030 move.l [A0 + 0x30], D0
00007870 42AD F540 clr.l [A5 - 0xAC0]
00007874 A200 syscall OpenSlot, flags=2
00007876 4E75 rts
label00007878:
00007878 A000 syscall Open/PBHOpen/HOpen
0000787A 4E75 rts
fn0000787C:
0000787C 202D F540 move.l D0, [A5 - 0xAC0]
00007880 670C beq +0xE /* 0000788E */
00007882 2140 0030 move.l [A0 + 0x30], D0
00007886 42AD F540 clr.l [A5 - 0xAC0]
0000788A A20B syscall Rename/PBHRename/HRename, flags=2
0000788C 4E75 rts
label0000788E:
0000788E A00B syscall Rename/PBHRename/HRename
00007890 4E75 rts
fn00007892:
00007892 202D F540 move.l D0, [A5 - 0xAC0]
00007896 670C beq +0xE /* 000078A4 */
00007898 2140 0030 move.l [A0 + 0x30], D0
0000789C 42AD F540 clr.l [A5 - 0xAC0]
000078A0 A209 syscall Delete/PBHDelete/HDelete, flags=2
000078A2 4E75 rts
label000078A4:
000078A4 A009 syscall Delete/PBHDelete/HDelete
000078A6 4E75 rts
fn000078A8:
000078A8 202D F540 move.l D0, [A5 - 0xAC0]
000078AC 670C beq +0xE /* 000078BA */
000078AE 2140 0030 move.l [A0 + 0x30], D0
000078B2 42AD F540 clr.l [A5 - 0xAC0]
000078B6 A20A syscall OpenRF/PBHOpenRF/HOpenRF, flags=2
000078B8 4E75 rts
label000078BA:
000078BA A00A syscall OpenRF/PBHOpenRF/HOpenRF
000078BC 4E75 rts
fn000078BE:
000078BE 202D F540 move.l D0, [A5 - 0xAC0]
000078C2 6708 beq +0xA /* 000078CC */
000078C4 2140 0030 move.l [A0 + 0x30], D0
000078C8 A208 syscall Create/PBHCreate/HCreate, flags=2
000078CA 4E75 rts
label000078CC:
000078CC A008 syscall Create/PBHCreate/HCreate
000078CE 4E75 rts
000078D0 7012 moveq.l D0, 0x12
000078D2 6100 FB54 bsr -0x4AA /* 00007428 */
000078D6 322F 000E move.w D1, [A7 + 0xE]
000078DA 3B41 F742 move.w [A5 - 0x8BE], D1
000078DE 6A04 bpl +0x6 /* 000078E4 */
label000078E0:
000078E0 4EFA FE26 jmp [PC - 0x1DA /* 00007708 */]
label000078E4:
000078E4 4EBA 0CF2 jsr [PC + 0xCF2 /* 000085D8 */]
000078E8 6404 bcc +0x6 /* 000078EE */
000078EA 4EFA FE32 jmp [PC - 0x1CE /* 0000771E */]
label000078EE:
000078EE E949 lsl D1.w, 4
000078F0 246D F744 movea.l A2, [A5 - 0x8BC]
000078F4 45F2 1000 lea.l A2, [A2 + D1.w]
000078F8 4A92 tst.l [A2]
000078FA 66E4 bne -0x1A /* 000078E0 */
000078FC 256F 0006 0004 move.l [A2 + 0x4], [A7 + 0x6]
00007902 336F 0004 0016 move.w [A1 + 0x16], [A7 + 0x4]
00007908 236F 000A 0012 move.l [A1 + 0x12], [A7 + 0xA]
0000790E 142F 0010 move.b D2, [A7 + 0x10]
00007912 2F57 000E move.l [A7 + 0xE], [A7]
00007916 4FEF 000E lea.l A7, [A7 + 0xE]
0000791A 2049 movea.l A0, A1
0000791C 61A0 bsr -0x5E /* 000078BE */
0000791E 6716 beq +0x18 /* 00007936 */
00007920 0C40 FFD0 cmpi.w D0, 0xFFD0
00007924 6600 FDEC bne -0x212 /* 00007712 */
00007928 610C bsr +0xE /* 00007936 */
0000792A 42A8 001C clr.l [A0 + 0x1C]
0000792E A012 syscall SetEOF
00007930 6600 FDE0 bne -0x21E /* 00007712 */
00007934 4E75 rts
fn00007936:
00007936 4EBA 001A jsr [PC + 0x1A /* 00007952 */]
0000793A 43E8 0100 lea.l A1, [A0 + 0x100]
0000793E 2149 001C move.l [A0 + 0x1C], A1
00007942 117C 0002 001B move.b [A0 + 0x1B], 0x2
00007948 4A02 tst.b D2
0000794A 6700 FEFA beq -0x104 /* 00007846 */
0000794E 6000 FF12 bra -0xEC /* 00007862 */
fn00007952:
00007952 48E7 F0E0 movem.l -[A7], D0,D1,D2,D3,A0,A1,A2
00007956 4268 001C clr.w [A0 + 0x1C]
0000795A 262D F540 move.l D3, [A5 - 0xAC0]
0000795E 6704 beq +0x6 /* 00007964 */
00007960 A20C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=2
00007962 6002 bra +0x4 /* 00007966 */
label00007964:
00007964 A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
label00007966:
00007966 670A beq +0xC /* 00007972 */
00007968 4CDF 070F movem.l D0,D1,D2,D3,A0,A1,A2, [A7]+
0000796C 588F addq.l A7, 4
0000796E 6000 FDA2 bra -0x25C /* 00007712 */
label00007972:
00007972 45E8 0020 lea.l A2, [A0 + 0x20]
00007976 202D FDBA move.l D0, [A5 - 0x246]
0000797A 6702 beq +0x4 /* 0000797E */
0000797C 2480 move.l [A2], D0
label0000797E:
0000797E 202D FDBE move.l D0, [A5 - 0x242]
00007982 6704 beq +0x6 /* 00007988 */
00007984 2540 0004 move.l [A2 + 0x4], D0
label00007988:
00007988 2143 0030 move.l [A0 + 0x30], D3
0000798C 6704 beq +0x6 /* 00007992 */
0000798E A20D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo, flags=2
00007990 6002 bra +0x4 /* 00007994 */
label00007992:
00007992 A00D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo
label00007994:
00007994 4CDF 070F movem.l D0,D1,D2,D3,A0,A1,A2, [A7]+
00007998 4E75 rts
0000799A 7604 moveq.l D3, 0x04
0000799C 6002 bra +0x4 /* 000079A0 */
fn0000799E:
0000799E 7603 moveq.l D3, 0x03
label000079A0:
000079A0 322F 000E move.w D1, [A7 + 0xE]
000079A4 3B41 F742 move.w [A5 - 0x8BE], D1
000079A8 6A0C bpl +0xE /* 000079B6 */
label000079AA:
000079AA 2F57 000E move.l [A7 + 0xE], [A7]
000079AE 4FEF 000E lea.l A7, [A7 + 0xE]
000079B2 4EFA FD54 jmp [PC - 0x2AC /* 00007708 */]
label000079B6:
000079B6 4EBA 0C20 jsr [PC + 0xC20 /* 000085D8 */]
000079BA 640C bcc +0xE /* 000079C8 */
000079BC 2F57 000E move.l [A7 + 0xE], [A7]
000079C0 4FEF 000E lea.l A7, [A7 + 0xE]
000079C4 4EFA FD58 jmp [PC - 0x2A8 /* 0000771E */]
label000079C8:
000079C8 E949 lsl D1.w, 4
000079CA 246D F744 movea.l A2, [A5 - 0x8BC]
000079CE 45F2 1000 lea.l A2, [A2 + D1.w]
000079D2 4A92 tst.l [A2]
000079D4 66D4 bne -0x2A /* 000079AA */
000079D6 256F 0006 0004 move.l [A2 + 0x4], [A7 + 0x6]
000079DC 336F 0004 0016 move.w [A1 + 0x16], [A7 + 0x4]
000079E2 236F 000A 0012 move.l [A1 + 0x12], [A7 + 0xA]
000079E8 142F 0010 move.b D2, [A7 + 0x10]
000079EC 2F57 000E move.l [A7 + 0xE], [A7]
000079F0 4FEF 000E lea.l A7, [A7 + 0xE]
000079F4 2049 movea.l A0, A1
000079F6 4A02 tst.b D2
000079F8 663E bne +0x40 /* 00007A38 */
000079FA 1143 001B move.b [A0 + 0x1B], D3
000079FE 43E8 0100 lea.l A1, [A0 + 0x100]
00007A02 2149 001C move.l [A0 + 0x1C], A1
00007A06 6100 FE5E bsr -0x1A0 /* 00007866 */
00007A0A 6728 beq +0x2A /* 00007A34 */
00007A0C 0C40 FFD5 cmpi.w D0, 0xFFD5
00007A10 6600 FD00 bne -0x2FE /* 00007712 */
00007A14 6100 FEA8 bsr -0x156 /* 000078BE */
00007A18 6600 FCF8 bne -0x306 /* 00007712 */
00007A1C 6100 FF34 bsr -0xCA /* 00007952 */
00007A20 1143 001B move.b [A0 + 0x1B], D3
00007A24 43E8 0100 lea.l A1, [A0 + 0x100]
00007A28 2149 001C move.l [A0 + 0x1C], A1
00007A2C 6100 FE38 bsr -0x1C6 /* 00007866 */
00007A30 6600 FCE0 bne -0x31E /* 00007712 */
label00007A34:
00007A34 2488 move.l [A2], A0
00007A36 4E75 rts
label00007A38:
00007A38 1143 001B move.b [A0 + 0x1B], D3
00007A3C 6100 FE6A bsr -0x194 /* 000078A8 */
00007A40 6728 beq +0x2A /* 00007A6A */
00007A42 0C40 FFD5 cmpi.w D0, 0xFFD5
00007A46 6600 FCCA bne -0x334 /* 00007712 */
00007A4A 6100 FE72 bsr -0x18C /* 000078BE */
00007A4E 6600 FCC2 bne -0x33C /* 00007712 */
00007A52 6100 FEFE bsr -0x100 /* 00007952 */
00007A56 1143 001B move.b [A0 + 0x1B], D3
00007A5A 43E8 0100 lea.l A1, [A0 + 0x100]
00007A5E 2149 001C move.l [A0 + 0x1C], A1
00007A62 6100 FE02 bsr -0x1FC /* 00007866 */
00007A66 6600 FCAA bne -0x354 /* 00007712 */
label00007A6A:
00007A6A 2488 move.l [A2], A0
00007A6C 4E75 rts
label00007A6E:
00007A6E 36AA 0010 move.w [A3], [A2 + 0x10]
label00007A72:
00007A72 204A movea.l A0, A2
00007A74 A01F syscall DisposPtr/DisposePtr
00007A76 41FA 0F7E lea.l A0, [PC + 0xF7E /* 000089F6, value 0x42E */]
00007A7A 4E75 rts
label00007A7C:
00007A7C 265F movea.l A3, [A7]+
00007A7E 203C 0000 0100 move.l D0, 0x100
00007A84 A31E syscall NewPtrClear, flags=3
00007A86 6706 beq +0x8 /* 00007A8E */
00007A88 508F addq.l A7, 8
00007A8A 5C8F addq.l A7, 6
00007A8C 4ED3 jmp [A3]
label00007A8E:
00007A8E 2448 movea.l A2, A0
00007A90 261F move.l D3, [A7]+
00007A92 281F move.l D4, [A7]+
00007A94 2A1F move.l D5, [A7]+
00007A96 301F move.w D0, [A7]+
00007A98 2F0B move.l -[A7], A3
00007A9A 4A83 tst.l D3
00007A9C 67D4 beq -0x2A /* 00007A72 */
00007A9E 2643 movea.l A3, D3
00007AA0 4440 neg.w D0
00007AA2 4A84 tst.l D4
00007AA4 6632 bne +0x34 /* 00007AD8 */
00007AA6 486D F6B6 pea.l [A5 - 0x94A]
00007AAA 255F 0012 move.l [A2 + 0x12], [A7]+
00007AAE 3540 001C move.w [A2 + 0x1C], D0
00007AB2 A207 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
00007AB4 66B8 bne -0x46 /* 00007A6E */
00007AB6 36AA 0016 move.w [A3], [A2 + 0x16]
label00007ABA:
00007ABA 204A movea.l A0, A2
00007ABC A01F syscall DisposPtr/DisposePtr
00007ABE 41ED F6B6 lea.l A0, [A5 - 0x94A]
00007AC2 7000 moveq.l D0, 0x00
00007AC4 1010 move.b D0, [A0]
00007AC6 0C30 003A 0000 cmpi.b [A0 + D0.w], 0x3A /* ':' */
00007ACC 6708 beq +0xA /* 00007AD6 */
00007ACE 11BC 003A 0001 move.b [A0 + D0.w + 0x1], 0x3A /* ':' */
00007AD4 5210 addq.b [A0], 1
label00007AD6:
00007AD6 4E75 rts
label00007AD8:
00007AD8 2A00 move.l D5, D0
00007ADA 2244 movea.l A1, D4
00007ADC 41ED F6B6 lea.l A0, [A5 - 0x94A]
00007AE0 7000 moveq.l D0, 0x00
00007AE2 1011 move.b D0, [A1]
label00007AE4:
00007AE4 10D9 move.b [A0]+, [A1]+
00007AE6 51C8 FFFC dbf D0, -0x6 /* 00007AE4 */
00007AEA 43ED F6B6 lea.l A1, [A5 - 0x94A]
00007AEE 4A11 tst.b [A1]
00007AF0 660A bne +0xC /* 00007AFC */
00007AF2 4A53 tst.w [A3]
00007AF4 6712 beq +0x14 /* 00007B08 */
00007AF6 3553 0016 move.w [A2 + 0x16], [A3]
00007AFA 6004 bra +0x6 /* 00007B00 */
label00007AFC:
00007AFC 2549 0012 move.l [A2 + 0x12], A1
label00007B00:
00007B00 204A movea.l A0, A2
00007B02 A215 syscall SetVol/PBHSetVol/HSetVol, flags=2
00007B04 6600 FF68 bne -0x96 /* 00007A6E */
label00007B08:
00007B08 42AA 0012 clr.l [A2 + 0x12]
00007B0C 357C FFFF 001C move.w [A2 + 0x1C], 0xFFFF
00007B12 426A 0016 clr.w [A2 + 0x16]
00007B16 204A movea.l A0, A2
00007B18 A207 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
00007B1A 6600 FF52 bne -0xAC /* 00007A6E */
00007B1E 36AA 0016 move.w [A3], [A2 + 0x16]
00007B22 0C6A 4244 0040 cmpi.w [A2 + 0x40], 0x4244 /* 'BD' */
00007B28 57C6 seq D6
00007B2A 0C45 270F cmpi.w D5, 0x270F
00007B2E 6754 beq +0x56 /* 00007B84 */
00007B30 4A06 tst.b D6
00007B32 6716 beq +0x18 /* 00007B4A */
00007B34 426A 0016 clr.w [A2 + 0x16]
00007B38 42AA 0030 clr.l [A2 + 0x30]
00007B3C 204A movea.l A0, A2
00007B3E 7009 moveq.l D0, 0x09
00007B40 A260 syscall FSDispatch/HFSDispatch, flags=2
00007B42 6600 FF2A bne -0xD4 /* 00007A6E */
00007B46 426A 0016 clr.w [A2 + 0x16]
label00007B4A:
00007B4A 486D F6B6 pea.l [A5 - 0x94A]
00007B4E 255F 0012 move.l [A2 + 0x12], [A7]+
00007B52 3545 001C move.w [A2 + 0x1C], D5
00007B56 422A 001A clr.b [A2 + 0x1A]
00007B5A 204A movea.l A0, A2
00007B5C 4A06 tst.b D6
00007B5E 670A beq +0xC /* 00007B6A */
00007B60 42AA 0030 clr.l [A2 + 0x30]
00007B64 7009 moveq.l D0, 0x09
00007B66 A260 syscall FSDispatch/HFSDispatch, flags=2
00007B68 6002 bra +0x4 /* 00007B6C */
label00007B6A:
00007B6A A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
label00007B6C:
00007B6C 6600 FF00 bne -0xFE /* 00007A6E */
00007B70 082A 0004 001E btst.b [A2 + 0x1E], 0x4
00007B76 6600 FF42 bne -0xBC /* 00007ABA */
00007B7A 204A movea.l A0, A2
00007B7C A01F syscall DisposPtr/DisposePtr
00007B7E 41ED F6B6 lea.l A0, [A5 - 0x94A]
00007B82 4E75 rts
label00007B84:
00007B84 204A movea.l A0, A2
00007B86 A01F syscall DisposPtr/DisposePtr
00007B88 4A06 tst.b D6
00007B8A 41FA 0E78 lea.l A0, [PC + 0xE78 /* 00008A04, value 0x34D4653, pstring "MFS" */]
00007B8E 6704 beq +0x6 /* 00007B94 */
00007B90 41FA 0E76 lea.l A0, [PC + 0xE76 /* 00008A08, value 0x3484653, pstring "HFS" */]
label00007B94:
00007B94 4E75 rts
label00007B96:
00007B96 7012 moveq.l D0, 0x12
00007B98 6100 F88E bsr -0x770 /* 00007428 */
00007B9C 2F3C 0060 0058 move.l -[A7], 0x600058 /* '`\0X' */
00007BA2 2F2F 0010 move.l -[A7], [A7 + 0x10]
00007BA6 6606 bne +0x8 /* 00007BAE */
00007BA8 41FA 0E4C lea.l A0, [PC + 0xE4C /* 000089F6, value 0x42E */]
00007BAC 2E88 move.l [A7], A0
label00007BAE:
00007BAE 2F2F 0010 move.l -[A7], [A7 + 0x10]
00007BB2 6606 bne +0x8 /* 00007BBA */
00007BB4 41FA 0E40 lea.l A0, [PC + 0xE40 /* 000089F6, value 0x42E */]
00007BB8 2E88 move.l [A7], A0
label00007BBA:
00007BBA 42A7 clr.l -[A7]
00007BBC 486D F6AC pea.l [A5 - 0x954]
00007BC0 3F3C 0001 move.w -[A7], 0x1
00007BC4 6050 bra +0x52 /* 00007C16 */
00007BC6 302F 0010 move.w D0, [A7 + 0x10]
00007BCA 6B00 FEB0 bmi -0x14E /* 00007A7C */
00007BCE 67C6 beq -0x38 /* 00007B96 */
00007BD0 2F3C 0060 0040 move.l -[A7], 0x600040 /* '`\0@' */
00007BD6 42A7 clr.l -[A7]
00007BD8 42A7 clr.l -[A7]
00007BDA 202F 0018 move.l D0, [A7 + 0x18]
00007BDE 2040 movea.l A0, D0
00007BE0 6604 bne +0x6 /* 00007BE6 */
00007BE2 41FA 0E12 lea.l A0, [PC + 0xE12 /* 000089F6, value 0x42E */]
label00007BE6:
00007BE6 7000 moveq.l D0, 0x00
00007BE8 1018 move.b D0, [A0]+
00007BEA E448 lsr D0.w, 2
00007BEC 6608 bne +0xA /* 00007BF6 */
00007BEE 3F3C FFFF move.w -[A7], 0xFFFF
00007BF2 42A7 clr.l -[A7]
00007BF4 6016 bra +0x18 /* 00007C0C */
label00007BF6:
00007BF6 43ED FDFC lea.l A1, [A5 - 0x204]
00007BFA 3F00 move.w -[A7], D0
00007BFC 2F09 move.l -[A7], A1
00007BFE 5340 subq.w D0, 1
label00007C00:
00007C00 12D8 move.b [A1]+, [A0]+
00007C02 12D8 move.b [A1]+, [A0]+
00007C04 12D8 move.b [A1]+, [A0]+
00007C06 12D8 move.b [A1]+, [A0]+
00007C08 51C8 FFF6 dbf D0, -0xC /* 00007C00 */
label00007C0C:
00007C0C 42A7 clr.l -[A7]
00007C0E 486D F6AC pea.l [A5 - 0x954]
00007C12 3F3C 0002 move.w -[A7], 0x2
label00007C16:
00007C16 A9EA syscall Pack3
00007C18 4A2D F6AC tst.b [A5 - 0x954]
00007C1C 671A beq +0x1C /* 00007C38 */
00007C1E 202F 0004 move.l D0, [A7 + 0x4]
00007C22 6706 beq +0x8 /* 00007C2A */
00007C24 2040 movea.l A0, D0
00007C26 30AD F6B2 move.w [A0], [A5 - 0x94E]
label00007C2A:
00007C2A 41ED F6B6 lea.l A0, [A5 - 0x94A]
label00007C2E:
00007C2E 2F57 000E move.l [A7 + 0xE], [A7]
00007C32 4FEF 000E lea.l A7, [A7 + 0xE]
00007C36 4E75 rts
label00007C38:
00007C38 202F 0004 move.l D0, [A7 + 0x4]
00007C3C 6704 beq +0x6 /* 00007C42 */
00007C3E 2040 movea.l A0, D0
00007C40 4250 clr.w [A0]
label00007C42:
00007C42 41FA 0DB2 lea.l A0, [PC + 0xDB2 /* 000089F6, value 0x42E */]
00007C46 60E6 bra -0x18 /* 00007C2E */
00007C48 41ED FEC0 lea.l A0, [A5 - 0x140]
00007C4C 20AD F6AE move.l [A0], [A5 - 0x952]
00007C50 113C 0004 move.b -[A0], 0x4
00007C54 4E75 rts
00007C56 6100 F7D6 bsr -0x828 /* 0000742E */
00007C5A 3B41 F742 move.w [A5 - 0x8BE], D1
00007C5E 6A00 FAA8 bpl -0x556 /* 00007708 */
00007C62 4A6D F4AE tst.w [A5 - 0xB52]
00007C66 6600 FAA0 bne -0x55E /* 00007708 */
00007C6A 3F00 move.w -[A7], D0
00007C6C 4441 neg.w D1
00007C6E 0241 000F andi.w D1, 0xF
00007C72 E949 lsl D1.w, 4
00007C74 4441 neg.w D1
00007C76 266D F744 movea.l A3, [A5 - 0x8BC]
00007C7A 47F3 1000 lea.l A3, [A3 + D1.w]
00007C7E 4A93 tst.l [A3]
00007C80 6704 beq +0x6 /* 00007C86 */
00007C82 6000 FA84 bra -0x57A /* 00007708 */
label00007C86:
00007C86 7E08 moveq.l D7, 0x08
00007C88 720E moveq.l D1, 0x0E
00007C8A 4EBA 98A6 jsr [PC - 0x675A /* 00001532 */]
00007C8E 2F08 move.l -[A7], A0
label00007C90:
00007C90 B308 cmpm.b [A1]+, [A0]+
00007C92 56CF FFFC dbne D7, -0x6 /* 00007C90 */
00007C96 57ED F537 seq [A5 - 0xAC9]
00007C9A 205F movea.l A0, [A7]+
00007C9C 558F subq.l A7, 2
00007C9E 2F08 move.l -[A7], A0
00007CA0 2F0B move.l -[A7], A3
00007CA2 4EAD 006A jsr [A5 + 0x6A /* export_9 */]
00007CA6 301F move.w D0, [A7]+
00007CA8 6A06 bpl +0x8 /* 00007CB0 */
00007CAA 548F addq.l A7, 2
00007CAC 6000 FA6C bra -0x592 /* 0000771A */
label00007CB0:
00007CB0 7000 moveq.l D0, 0x00
00007CB2 301F move.w D0, [A7]+
00007CB4 3B40 F640 move.w [A5 - 0x9C0], D0
00007CB8 576D F640 subq.w [A5 - 0x9C0], 3
00007CBC 4A2D F537 tst.b [A5 - 0xAC9]
00007CC0 6708 beq +0xA /* 00007CCA */
00007CC2 A122 syscall NewHandle, flags=1
00007CC4 6600 FA54 bne -0x5AA /* 0000771A */
00007CC8 6006 bra +0x8 /* 00007CD0 */
label00007CCA:
00007CCA A11E syscall NewPtr, flags=1
00007CCC 6600 FA4C bne -0x5B2 /* 0000771A */
label00007CD0:
00007CD0 2748 0008 move.l [A3 + 0x8], A0
00007CD4 177C 0002 000C move.b [A3 + 0xC], 0x2
00007CDA 3B6D F742 F4AE move.w [A5 - 0xB52], [A5 - 0x8BE]
00007CE0 4E75 rts
00007CE2 6100 F74A bsr -0x8B4 /* 0000742E */
00007CE6 4EBA 08F0 jsr [PC + 0x8F0 /* 000085D8 */]
00007CEA 6500 FA32 bcs -0x5CC /* 0000771E */
00007CEE 2049 movea.l A0, A1
00007CF0 1038 0291 move.b D0, [0x00000291 /* PortBUse */]
00007CF4 6A1E bpl +0x20 /* 00007D14 */
00007CF6 1038 01FB move.b D0, [0x000001FB /* SPConfig */]
00007CFA 0200 000F andi.b D0, 0xF
00007CFE 6706 beq +0x8 /* 00007D06 */
00007D00 0C00 0001 cmpi.b D0, 0x1
00007D04 6632 bne +0x34 /* 00007D38 */
label00007D06:
00007D06 487A 0CF6 pea.l [PC + 0xCF6 /* 000089FE, value 0x42E4D50, pstring ".MPP" */]
00007D0A 215F 0012 move.l [A0 + 0x12], [A7]+
00007D0E A000 syscall Open/PBHOpen/HOpen
00007D10 6626 bne +0x28 /* 00007D38 */
00007D12 600A bra +0xC /* 00007D1E */
label00007D14:
00007D14 0200 000F andi.b D0, 0xF
00007D18 0C00 0001 cmpi.b D0, 0x1
00007D1C 661A bne +0x1C /* 00007D38 */
label00007D1E:
00007D1E 0838 0004 0291 btst.b [0x00000291 /* PortBUse */], 0x4
00007D24 660C bne +0xE /* 00007D32 */
00007D26 487A 0CD0 pea.l [PC + 0xCD0 /* 000089F8, value 0x42E4154, pstring ".ATP" */]
00007D2A 215F 0012 move.l [A0 + 0x12], [A7]+
00007D2E A000 syscall Open/PBHOpen/HOpen
00007D30 6606 bne +0x8 /* 00007D38 */
label00007D32:
00007D32 2049 movea.l A0, A1
00007D34 A01F syscall DisposPtr/DisposePtr
00007D36 4E75 rts
label00007D38:
00007D38 3B40 F73E move.w [A5 - 0x8C2], D0
00007D3C A01F syscall DisposPtr/DisposePtr
00007D3E 6000 F9DE bra -0x620 /* 0000771E */
00007D42 701C moveq.l D0, 0x1C
00007D44 6100 F6E2 bsr -0x91C /* 00007428 */
00007D48 302F 001A move.w D0, [A7 + 0x1A]
00007D4C 3B40 F742 move.w [A5 - 0x8BE], D0
00007D50 6A00 F9B6 bpl -0x648 /* 00007708 */
00007D54 4440 neg.w D0
00007D56 2400 move.l D2, D0
00007D58 E948 lsl D0.w, 4
00007D5A 4440 neg.w D0
00007D5C 266D F744 movea.l A3, [A5 - 0x8BC]
00007D60 47F3 0000 lea.l A3, [A3 + D0.w]
00007D64 4A93 tst.l [A3]
00007D66 6704 beq +0x6 /* 00007D6C */
00007D68 6000 F99E bra -0x660 /* 00007708 */
label00007D6C:
00007D6C 203C 0000 0180 move.l D0, 0x180
00007D72 A31E syscall NewPtrClear, flags=3
00007D74 6704 beq +0x6 /* 00007D7A */
00007D76 6000 F99A bra -0x664 /* 00007712 */
label00007D7A:
00007D7A 2248 movea.l A1, A0
00007D7C 45E9 0089 lea.l A2, [A1 + 0x89]
00007D80 7208 moveq.l D1, 0x08
label00007D82:
00007D82 2077 100E movea.l A0, [A7 + D1.w + 0xE]
00007D86 7000 moveq.l D0, 0x00
00007D88 1010 move.b D0, [A0]
00007D8A 0C00 001F cmpi.b D0, 0x1F
00007D8E 6504 bcs +0x6 /* 00007D94 */
00007D90 6000 F972 bra -0x68C /* 00007704 */
label00007D94:
00007D94 14D8 move.b [A2]+, [A0]+
00007D96 51C8 FFFC dbf D0, -0x6 /* 00007D94 */
00007D9A 5941 subq.w D1, 4
00007D9C 6AE4 bpl -0x1A /* 00007D82 */
00007D9E 2049 movea.l A0, A1
00007DA0 317C FFF6 0018 move.w [A0 + 0x18], 0xFFF6
00007DA6 317C 00F9 001A move.w [A0 + 0x1A], 0xF9
00007DAC A004 syscall Control
00007DAE 6704 beq +0x6 /* 00007DB4 */
00007DB0 6000 F960 bra -0x69E /* 00007712 */
label00007DB4:
00007DB4 317C 00FD 001A move.w [A0 + 0x1A], 0xFD
00007DBA 4868 0080 pea.l [A0 + 0x80]
00007DBE 215F 001E move.l [A0 + 0x1E], [A7]+
00007DC2 50E8 0022 st [A0 + 0x22]
00007DC6 1142 0087 move.b [A0 + 0x87], D2
00007DCA 116F 000A 001C move.b [A0 + 0x1C], [A7 + 0xA]
00007DD0 6604 bne +0x6 /* 00007DD6 */
00007DD2 5228 001C addq.b [A0 + 0x1C], 1
label00007DD6:
00007DD6 116F 000C 001D move.b [A0 + 0x1D], [A7 + 0xC]
00007DDC 6604 bne +0x6 /* 00007DE2 */
00007DDE 5228 001D addq.b [A0 + 0x1D], 1
label00007DE2:
00007DE2 A004 syscall Control
00007DE4 6708 beq +0xA /* 00007DEE */
00007DE6 3B40 F73E move.w [A5 - 0x8C2], D0
00007DEA 6000 F918 bra -0x6E6 /* 00007704 */
label00007DEE:
00007DEE 317C FFF5 0018 move.w [A0 + 0x18], 0xFFF5
00007DF4 316F 0008 001E move.w [A0 + 0x1E], [A7 + 0x8]
00007DFA 116F 0006 0020 move.b [A0 + 0x20], [A7 + 0x6]
00007E00 116F 0004 0021 move.b [A0 + 0x21], [A7 + 0x4]
00007E06 317C 00FE 001A move.w [A0 + 0x1A], 0xFE
00007E0C 1142 001C move.b [A0 + 0x1C], D2
00007E10 A004 syscall Control
00007E12 6704 beq +0x6 /* 00007E18 */
00007E14 6000 F904 bra -0x6FA /* 0000771A */
label00007E18:
00007E18 2689 move.l [A3], A1
00007E1A 177C 0003 000C move.b [A3 + 0xC], 0x3
00007E20 2F57 0018 move.l [A7 + 0x18], [A7]
00007E24 4FEF 0018 lea.l A7, [A7 + 0x18]
00007E28 4E75 rts
00007E2A 7032 moveq.l D0, 0x32
00007E2C 6100 F5FA bsr -0xA04 /* 00007428 */
00007E30 302F 0030 move.w D0, [A7 + 0x30]
00007E34 3B40 F742 move.w [A5 - 0x8BE], D0
00007E38 6B0C bmi +0xE /* 00007E46 */
label00007E3A:
00007E3A 2F57 002E move.l [A7 + 0x2E], [A7]
00007E3E 4FEF 002E lea.l A7, [A7 + 0x2E]
00007E42 6000 F8C4 bra -0x73A /* 00007708 */
label00007E46:
00007E46 4440 neg.w D0
00007E48 3200 move.w D1, D0
00007E4A E948 lsl D0.w, 4
00007E4C 4440 neg.w D0
00007E4E 246D F744 movea.l A2, [A5 - 0x8BC]
00007E52 45F2 0000 lea.l A2, [A2 + D0.w]
00007E56 4A92 tst.l [A2]
00007E58 660C bne +0xE /* 00007E66 */
00007E5A 2F57 002E move.l [A7 + 0x2E], [A7]
00007E5E 4FEF 002E lea.l A7, [A7 + 0x2E]
00007E62 6000 F89C bra -0x762 /* 00007700 */
label00007E66:
00007E66 0C2A 0003 000C cmpi.b [A2 + 0xC], 0x3
00007E6C 66CC bne -0x32 /* 00007E3A */
00007E6E 2452 movea.l A2, [A2]
00007E70 226F 0024 movea.l A1, [A7 + 0x24]
00007E74 3551 0022 move.w [A2 + 0x22], [A1]
00007E78 256F 0020 0024 move.l [A2 + 0x24], [A7 + 0x20]
00007E7E 487A 0046 pea.l [PC + 0x46 /* 00007EC6, value 0x30280010 */]
00007E82 255F 000C move.l [A2 + 0xC], [A7]+
00007E86 357C 00FD 001A move.w [A2 + 0x1A], 0xFD
00007E8C 1541 001C move.b [A2 + 0x1C], D1
00007E90 C14A exg A0, A2
00007E92 226F 002C movea.l A1, [A7 + 0x2C]
00007E96 4A51 tst.w [A1]
00007E98 671C beq +0x1E /* 00007EB6 */
00007E9A 4251 clr.w [A1]
00007E9C 225F movea.l A1, [A7]+
00007E9E 45E8 003C lea.l A2, [A0 + 0x3C]
00007EA2 7016 moveq.l D0, 0x16
label00007EA4:
00007EA4 34DF move.w [A2]+, [A7]+
00007EA6 51C8 FFFC dbf D0, -0x6 /* 00007EA4 */
00007EAA A404 syscall Control, flags=4
00007EAC 6706 beq +0x8 /* 00007EB4 */
00007EAE 2F09 move.l -[A7], A1
00007EB0 6000 F868 bra -0x796 /* 0000771A */
label00007EB4:
00007EB4 4ED1 jmp [A1]
label00007EB6:
00007EB6 A004 syscall Control
00007EB8 673C beq +0x3E /* 00007EF6 */
00007EBA 2F57 002E move.l [A7 + 0x2E], [A7]
00007EBE 4FEF 002E lea.l A7, [A7 + 0x2E]
00007EC2 6000 F856 bra -0x7A8 /* 0000771A */
00007EC6 3028 0010 move.w D0, [A0 + 0x10]
00007ECA 670A beq +0xC /* 00007ED6 */
00007ECC 3B68 0068 F742 move.w [A5 - 0x8BE], [A0 + 0x68]
00007ED2 6000 F846 bra -0x7B8 /* 0000771A */
label00007ED6:
00007ED6 4AA8 0060 tst.l [A0 + 0x60]
00007EDA 6604 bne +0x6 /* 00007EE0 */
00007EDC 215F 0060 move.l [A0 + 0x60], [A7]+
label00007EE0:
00007EE0 43E8 006A lea.l A1, [A0 + 0x6A]
00007EE4 7016 moveq.l D0, 0x16
label00007EE6:
00007EE6 3F21 move.w -[A7], -[A1]
00007EE8 51C8 FFFC dbf D0, -0x6 /* 00007EE6 */
00007EEC 2F2F 0024 move.l -[A7], [A7 + 0x24]
00007EF0 226F 002C movea.l A1, [A7 + 0x2C]
00007EF4 3280 move.w [A1], D0
label00007EF6:
00007EF6 226F 0018 movea.l A1, [A7 + 0x18]
00007EFA 22A8 0012 move.l [A1], [A0 + 0x12]
00007EFE 226F 0014 movea.l A1, [A7 + 0x14]
00007F02 32A8 001E move.w [A1], [A0 + 0x1E]
00007F06 226F 0010 movea.l A1, [A7 + 0x10]
00007F0A 4251 clr.w [A1]
00007F0C 1368 0020 0001 move.b [A1 + 0x1], [A0 + 0x20]
00007F12 226F 000C movea.l A1, [A7 + 0xC]
00007F16 4251 clr.w [A1]
00007F18 1368 0021 0001 move.b [A1 + 0x1], [A0 + 0x21]
00007F1E 226F 0024 movea.l A1, [A7 + 0x24]
00007F22 32A8 0022 move.w [A1], [A0 + 0x22]
00007F26 226F 001C movea.l A1, [A7 + 0x1C]
00007F2A 4251 clr.w [A1]
00007F2C 1368 001D 0001 move.b [A1 + 0x1], [A0 + 0x1D]
00007F32 226F 0008 movea.l A1, [A7 + 0x8]
00007F36 4251 clr.w [A1]
00007F38 1368 002C 0001 move.b [A1 + 0x1], [A0 + 0x2C]
00007F3E 226F 0004 movea.l A1, [A7 + 0x4]
00007F42 32A8 002E move.w [A1], [A0 + 0x2E]
00007F46 2057 movea.l A0, [A7]
00007F48 4FEF 0032 lea.l A7, [A7 + 0x32]
00007F4C 4ED0 jmp [A0]
00007F4E 7040 moveq.l D0, 0x40
00007F50 6100 F4D6 bsr -0xB28 /* 00007428 */
00007F54 203C 0000 0100 move.l D0, 0x100
00007F5A A31E syscall NewPtrClear, flags=3
00007F5C 670C beq +0xE /* 00007F6A */
00007F5E 2F57 003C move.l [A7 + 0x3C], [A7]
00007F62 4FEF 003C lea.l A7, [A7 + 0x3C]
00007F66 6000 F7B6 bra -0x848 /* 0000771E */
label00007F6A:
00007F6A 317C FFF5 0018 move.w [A0 + 0x18], 0xFFF5
00007F70 317C 00FF 001A move.w [A0 + 0x1A], 0xFF
00007F76 216F 001A 0012 move.l [A0 + 0x12], [A7 + 0x1A]
00007F7C 226F 0010 movea.l A1, [A7 + 0x10]
00007F80 1169 0001 001D move.b [A0 + 0x1D], [A1 + 0x1]
00007F86 316F 0018 001E move.w [A0 + 0x1E], [A7 + 0x18]
00007F8C 116F 0017 0020 move.b [A0 + 0x20], [A7 + 0x17]
00007F92 116F 0015 0021 move.b [A0 + 0x21], [A7 + 0x15]
00007F98 316F 0036 0022 move.w [A0 + 0x22], [A7 + 0x36]
00007F9E 216F 0032 0024 move.l [A0 + 0x24], [A7 + 0x32]
00007FA4 226F 002E movea.l A1, [A7 + 0x2E]
00007FA8 3011 move.w D0, [A1]
00007FAA 43E8 0080 lea.l A1, [A0 + 0x80]
00007FAE 2149 0028 move.l [A0 + 0x28], A1
00007FB2 1140 002C move.b [A0 + 0x2C], D0
00007FB6 6722 beq +0x24 /* 00007FDA */
00007FB8 0C40 0008 cmpi.w D0, 0x8
00007FBC 6306 bls +0x8 /* 00007FC4 */
00007FBE 7008 moveq.l D0, 0x08
00007FC0 1140 002C move.b [A0 + 0x2C], D0
label00007FC4:
00007FC4 5340 subq.w D0, 1
00007FC6 246F 002A movea.l A2, [A7 + 0x2A]
00007FCA 266F 0026 movea.l A3, [A7 + 0x26]
label00007FCE:
00007FCE 32DA move.w [A1]+, [A2]+
00007FD0 22DB move.l [A1]+, [A3]+
00007FD2 4259 clr.w [A1]+
00007FD4 4299 clr.l [A1]+
00007FD6 51C8 FFF6 dbf D0, -0xC /* 00007FCE */
label00007FDA:
00007FDA 116F 0005 002D move.b [A0 + 0x2D], [A7 + 0x5]
00007FE0 6604 bne +0x6 /* 00007FE6 */
00007FE2 5228 002D addq.b [A0 + 0x2D], 1
label00007FE6:
00007FE6 116F 0007 002F move.b [A0 + 0x2F], [A7 + 0x7]
00007FEC 6604 bne +0x6 /* 00007FF2 */
00007FEE 5228 002F addq.b [A0 + 0x2F], 1
label00007FF2:
00007FF2 487A 00A0 pea.l [PC + 0xA0 /* 00008094, value 0x30280010 */]
00007FF6 215F 000C move.l [A0 + 0xC], [A7]+
00007FFA 226F 003C movea.l A1, [A7 + 0x3C]
00007FFE 4A51 tst.w [A1]
00008000 671E beq +0x20 /* 00008020 */
00008002 4251 clr.w [A1]
00008004 43E8 003C lea.l A1, [A0 + 0x3C]
00008008 245F movea.l A2, [A7]+
0000800A 303C 000E move.w D0, 0xE
label0000800E:
0000800E 22DF move.l [A1]+, [A7]+
00008010 51C8 FFFC dbf D0, -0x6 /* 0000800E */
00008014 A404 syscall Control, flags=4
00008016 6706 beq +0x8 /* 0000801E */
00008018 2F0A move.l -[A7], A2
0000801A 6000 F702 bra -0x8FC /* 0000771E */
label0000801E:
0000801E 4ED2 jmp [A2]
label00008020:
00008020 A004 syscall Control
00008022 670C beq +0xE /* 00008030 */
00008024 2F57 003C move.l [A7 + 0x3C], [A7]
00008028 4FEF 003C lea.l A7, [A7 + 0x3C]
0000802C 6000 F6F0 bra -0x90E /* 0000771E */
label00008030:
00008030 226F 002E movea.l A1, [A7 + 0x2E]
00008034 4251 clr.w [A1]
00008036 1368 002E 0001 move.b [A1 + 0x1], [A0 + 0x2E]
0000803C 226F 0008 movea.l A1, [A7 + 0x8]
00008040 32A8 002E move.w [A1], [A0 + 0x2E]
00008044 226F 0010 movea.l A1, [A7 + 0x10]
00008048 4251 clr.w [A1]
0000804A 1368 001D 0001 move.b [A1 + 0x1], [A0 + 0x1D]
00008050 2268 000C movea.l A1, [A0 + 0xC]
00008054 4251 clr.w [A1]
00008056 1228 001C move.b D1, [A0 + 0x1C]
0000805A 1341 0001 move.b [A1 + 0x1], D1
0000805E 45E8 0080 lea.l A2, [A0 + 0x80]
00008062 E209 lsr D1.b, 1
00008064 6426 bcc +0x28 /* 0000808C */
00008066 226F 0022 movea.l A1, [A7 + 0x22]
0000806A 32A8 0006 move.w [A1], [A0 + 0x6]
0000806E 226F 001E movea.l A1, [A7 + 0x1E]
00008072 22A8 0008 move.l [A1], [A0 + 0x8]
label00008076:
00008076 54AF 0022 addq.l [A7 + 0x22], 2
0000807A 58AF 001E addq.l [A7 + 0x1E], 4
0000807E 4A01 tst.b D1
00008080 66F4 bne -0xA /* 00008076 */
00008082 A01F syscall DisposPtr/DisposePtr
00008084 205F movea.l A0, [A7]+
00008086 4FEF 003C lea.l A7, [A7 + 0x3C]
0000808A 4ED0 jmp [A0]
label0000808C:
0000808C 326F 0022 movea.w A1, [A7 + 0x22]
00008090 4251 clr.w [A1]
00008092 60E2 bra -0x1C /* 00008076 */
00008094 3028 0010 move.w D0, [A0 + 0x10]
00008098 6600 F684 bne -0x97A /* 0000771E */
0000809C 43E8 0078 lea.l A1, [A0 + 0x78]
000080A0 4AA9 FFF8 tst.l [A1 - 0x8]
000080A4 6604 bne +0x6 /* 000080AA */
000080A6 235F FFF8 move.l [A1 - 0x8], [A7]+
label000080AA:
000080AA 700E moveq.l D0, 0x0E
label000080AC:
000080AC 2F21 move.l -[A7], -[A1]
000080AE 51C8 FFFC dbf D0, -0x6 /* 000080AC */
000080B2 2F2F 0034 move.l -[A7], [A7 + 0x34]
000080B6 226F 003C movea.l A1, [A7 + 0x3C]
000080BA 3280 move.w [A1], D0
000080BC 6000 FF72 bra -0x8C /* 00008030 */
000080C0 702A moveq.l D0, 0x2A
000080C2 6100 F364 bsr -0xC9A /* 00007428 */
000080C6 302F 0028 move.w D0, [A7 + 0x28]
000080CA 3B40 F742 move.w [A5 - 0x8BE], D0
000080CE 6B04 bmi +0x6 /* 000080D4 */
label000080D0:
000080D0 6000 F636 bra -0x9C8 /* 00007708 */
label000080D4:
000080D4 4440 neg.w D0
000080D6 3200 move.w D1, D0
000080D8 E948 lsl D0.w, 4
000080DA 4440 neg.w D0
000080DC 206D F744 movea.l A0, [A5 - 0x8BC]
000080E0 41F0 0000 lea.l A0, [A0 + D0.w]
000080E4 4A90 tst.l [A0]
000080E6 6604 bne +0x6 /* 000080EC */
000080E8 6000 F616 bra -0x9E8 /* 00007700 */
label000080EC:
000080EC 0C28 0003 000C cmpi.b [A0 + 0xC], 0x3
000080F2 66DC bne -0x22 /* 000080D0 */
000080F4 2050 movea.l A0, [A0]
000080F6 317C 00FC 001A move.w [A0 + 0x1A], 0xFC
000080FC 487A 00B0 pea.l [PC + 0xB0 /* 000081AE, value 0x30280010 */]
00008100 215F 000C move.l [A0 + 0xC], [A7]+
00008104 116F 001F 001D move.b [A0 + 0x1D], [A7 + 0x1F]
0000810A 316F 001C 001E move.w [A0 + 0x1E], [A7 + 0x1C]
00008110 316F 0018 0020 move.w [A0 + 0x20], [A7 + 0x18]
00008116 116F 001B 0020 move.b [A0 + 0x20], [A7 + 0x1B]
0000811C 43E8 0100 lea.l A1, [A0 + 0x100]
00008120 2149 0028 move.l [A0 + 0x28], A1
00008124 302F 0016 move.w D0, [A7 + 0x16]
00008128 672A beq +0x2C /* 00008154 */
0000812A 0C40 0008 cmpi.w D0, 0x8
0000812E 6302 bls +0x4 /* 00008132 */
00008130 7008 moveq.l D0, 0x08
label00008132:
00008132 1140 002C move.b [A0 + 0x2C], D0
00008136 5340 subq.w D0, 1
00008138 2F08 move.l -[A7], A0
0000813A 246F 0016 movea.l A2, [A7 + 0x16]
0000813E 266F 0012 movea.l A3, [A7 + 0x12]
00008142 206F 000E movea.l A0, [A7 + 0xE]
label00008146:
00008146 32DA move.w [A1]+, [A2]+
00008148 22DB move.l [A1]+, [A3]+
0000814A 4259 clr.w [A1]+
0000814C 22D8 move.l [A1]+, [A0]+
0000814E 51C8 FFF6 dbf D0, -0xC /* 00008146 */
00008152 205F movea.l A0, [A7]+
label00008154:
00008154 316F 0008 002E move.w [A0 + 0x2E], [A7 + 0x8]
0000815A 1141 001C move.b [A0 + 0x1C], D1
0000815E 226F 0024 movea.l A1, [A7 + 0x24]
00008162 4A51 tst.w [A1]
00008164 6728 beq +0x2A /* 0000818E */
00008166 4251 clr.w [A1]
00008168 216F 0004 00F2 move.l [A0 + 0xF2], [A7 + 0x4]
0000816E 316F 0028 00F6 move.w [A0 + 0xF6], [A7 + 0x28]
00008174 2149 00F8 move.l [A0 + 0xF8], A1
00008178 216F 0020 00FC move.l [A0 + 0xFC], [A7 + 0x20]
0000817E 2F57 0026 move.l [A7 + 0x26], [A7]
00008182 4FEF 0026 lea.l A7, [A7 + 0x26]
00008186 A404 syscall Control, flags=4
00008188 6600 F590 bne -0xA6E /* 0000771A */
0000818C 4E75 rts
label0000818E:
0000818E A004 syscall Control
00008190 670C beq +0xE /* 0000819E */
00008192 2F57 0026 move.l [A7 + 0x26], [A7]
00008196 4FEF 0026 lea.l A7, [A7 + 0x26]
0000819A 6000 F57E bra -0xA80 /* 0000771A */
label0000819E:
0000819E 226F 0004 movea.l A1, [A7 + 0x4]
000081A2 22A8 0012 move.l [A1], [A0 + 0x12]
000081A6 205F movea.l A0, [A7]+
000081A8 4FEF 0026 lea.l A7, [A7 + 0x26]
000081AC 4ED0 jmp [A0]
000081AE 3028 0010 move.w D0, [A0 + 0x10]
000081B2 670A beq +0xC /* 000081BE */
000081B4 3B68 00F6 F742 move.w [A5 - 0x8BE], [A0 + 0xF6]
000081BA 6000 F55E bra -0xAA0 /* 0000771A */
label000081BE:
000081BE 2268 00F8 movea.l A1, [A0 + 0xF8]
000081C2 32BC FFFF move.w [A1], 0xFFFF
000081C6 2268 00F2 movea.l A1, [A0 + 0xF2]
000081CA 22A8 0012 move.l [A1], [A0 + 0x12]
000081CE 4AA8 00FC tst.l [A0 + 0xFC]
000081D2 6706 beq +0x8 /* 000081DA */
000081D4 2068 00FC movea.l A0, [A0 + 0xFC]
000081D8 4ED0 jmp [A0]
label000081DA:
000081DA 4E75 rts
000081DC FFFF .extension 0xFFF // unimplemented
000081DE 4E75 rts
000081E0 7030 moveq.l D0, 0x30
000081E2 6100 F244 bsr -0xDBA /* 00007428 */
000081E6 203C 0000 0100 move.l D0, 0x100
000081EC A31E syscall NewPtrClear, flags=3
000081EE 670C beq +0xE /* 000081FC */
label000081F0:
000081F0 2F57 002C move.l [A7 + 0x2C], [A7]
000081F4 4FEF 002C lea.l A7, [A7 + 0x2C]
000081F8 6000 F520 bra -0xADE /* 0000771A */
label000081FC:
000081FC 2448 movea.l A2, A0
000081FE 317C 00FB 001A move.w [A0 + 0x1A], 0xFB
00008204 317C FFF6 0018 move.w [A0 + 0x18], 0xFFF6
0000820A 116F 0005 001C move.b [A0 + 0x1C], [A7 + 0x5]
00008210 6604 bne +0x6 /* 00008216 */
00008212 5228 001C addq.b [A0 + 0x1C], 1
label00008216:
00008216 116F 0007 001D move.b [A0 + 0x1D], [A7 + 0x7]
0000821C 6604 bne +0x6 /* 00008222 */
0000821E 5228 001D addq.b [A0 + 0x1D], 1
label00008222:
00008222 43E8 0080 lea.l A1, [A0 + 0x80]
00008226 2149 001E move.l [A0 + 0x1E], A1
0000822A 7208 moveq.l D1, 0x08
label0000822C:
0000822C 2077 1024 movea.l A0, [A7 + D1.w + 0x24]
00008230 7000 moveq.l D0, 0x00
00008232 1010 move.b D0, [A0]
00008234 0C00 001F cmpi.b D0, 0x1F
00008238 6508 bcs +0xA /* 00008242 */
0000823A 204A movea.l A0, A2
0000823C A01F syscall DisposPtr/DisposePtr
0000823E 6000 F4C4 bra -0xB3A /* 00007704 */
label00008242:
00008242 12D8 move.b [A1]+, [A0]+
00008244 51C8 FFFC dbf D0, -0x6 /* 00008242 */
00008248 5941 subq.w D1, 4
0000824A 6AE0 bpl -0x1E /* 0000822C */
0000824C 226F 0020 movea.l A1, [A7 + 0x20]
00008250 3011 move.w D0, [A1]
00008252 3540 0028 move.w [A2 + 0x28], D0
00008256 C0FC mulu.w D0, 0xFFFFFFFFFFFFFFFF
00008258 0064 3540 ori.w -[A4], 0x3540 /* '5@' */
0000825C 0026 A11E ori.b -[A6], 0x1E
00008260 6706 beq +0x8 /* 00008268 */
00008262 204A movea.l A0, A2
00008264 A01F syscall DisposPtr/DisposePtr
00008266 6088 bra -0x76 /* 000081F0 */
label00008268:
00008268 2548 0022 move.l [A2 + 0x22], A0
0000826C 204A movea.l A0, A2
0000826E A004 syscall Control
00008270 6718 beq +0x1A /* 0000828A */
00008272 3B40 F73E move.w [A5 - 0x8C2], D0
00008276 A01F syscall DisposPtr/DisposePtr
00008278 206A 0022 movea.l A0, [A2 + 0x22]
0000827C A01F syscall DisposPtr/DisposePtr
0000827E 2F57 002C move.l [A7 + 0x2C], [A7]
00008282 4FEF 002C lea.l A7, [A7 + 0x2C]
00008286 6000 F496 bra -0xB68 /* 0000771E */
label0000828A:
0000828A 226F 0020 movea.l A1, [A7 + 0x20]
0000828E 3E28 002A move.w D7, [A0 + 0x2A]
00008292 BE51 cmp.w D7, [A1]
00008294 6302 bls +0x4 /* 00008298 */
00008296 3E11 move.w D7, [A1]
label00008298:
00008298 3287 move.w [A1], D7
0000829A 6754 beq +0x56 /* 000082F0 */
0000829C 5347 subq.w D7, 1
0000829E 2068 0022 movea.l A0, [A0 + 0x22]
label000082A2:
000082A2 226F 001C movea.l A1, [A7 + 0x1C]
000082A6 1018 move.b D0, [A0]+
000082A8 E148 lsl D0.w, 8
000082AA 8018 or.b D0, [A0]+
000082AC 3280 move.w [A1], D0
000082AE 54AF 001C addq.l [A7 + 0x1C], 2
000082B2 226F 0018 movea.l A1, [A7 + 0x18]
000082B6 4251 clr.w [A1]
000082B8 1358 0001 move.b [A1 + 0x1], [A0]+
000082BC 54AF 0018 addq.l [A7 + 0x18], 2
000082C0 226F 0014 movea.l A1, [A7 + 0x14]
000082C4 4251 clr.w [A1]
000082C6 1350 0001 move.b [A1 + 0x1], [A0]
000082CA 5488 addq.l A0, 2
000082CC 54AF 0014 addq.l [A7 + 0x14], 2
000082D0 7208 moveq.l D1, 0x08
label000082D2:
000082D2 7000 moveq.l D0, 0x00
000082D4 2277 1008 movea.l A1, [A7 + D1.w + 0x8]
000082D8 06B7 0000 0020 1008 addi.l [A7 + D1.w + 0x8], 0x20 /* ' ' */
000082E0 1010 move.b D0, [A0]
label000082E2:
000082E2 12D8 move.b [A1]+, [A0]+
000082E4 51C8 FFFC dbf D0, -0x6 /* 000082E2 */
000082E8 5941 subq.w D1, 4
000082EA 6AE6 bpl -0x18 /* 000082D2 */
000082EC 51CF FFB4 dbf D7, -0x4E /* 000082A2 */
label000082F0:
000082F0 206A 0022 movea.l A0, [A2 + 0x22]
000082F4 A01F syscall DisposPtr/DisposePtr
000082F6 204A movea.l A0, A2
000082F8 A01F syscall DisposPtr/DisposePtr
000082FA 205F movea.l A0, [A7]+
000082FC 4FEF 002C lea.l A7, [A7 + 0x2C]
00008300 4ED0 jmp [A0]
00008302 FFFF .extension 0xFFF // unimplemented
00008304 4E75 rts
00008306 FFFF .extension 0xFFF // unimplemented
00008308 4E75 rts
0000830A FFFF .extension 0xFFF // unimplemented
0000830C 4E75 rts
0000830E 4A40 tst.w D0
00008310 6A08 bpl +0xA /* 0000831A */
00008312 4440 neg.w D0
00008314 E948 lsl D0.w, 4
00008316 4440 neg.w D0
00008318 6002 bra +0x4 /* 0000831C */
label0000831A:
0000831A E948 lsl D0.w, 4
label0000831C:
0000831C 206D F744 movea.l A0, [A5 - 0x8BC]
00008320 2030 0000 move.l D0, [A0 + D0.w]
00008324 4E75 rts
00008326 2B5F F546 move.l [A5 - 0xABA], [A7]+
0000832A 6100 F672 bsr -0x98C /* 0000799E */
0000832E 2F2D F546 move.l -[A7], [A5 - 0xABA]
00008332 302D F742 move.w D0, [A5 - 0x8BE]
00008336 3B40 F742 move.w [A5 - 0x8BE], D0
0000833A 6B00 F3CC bmi -0xC32 /* 00007708 */
0000833E E948 lsl D0.w, 4
00008340 206D F744 movea.l A0, [A5 - 0x8BC]
00008344 4AB0 0000 tst.l [A0 + D0.w]
00008348 6700 F3BE beq -0xC40 /* 00007708 */
0000834C 2070 0000 movea.l A0, [A0 + D0.w]
label00008350:
00008350 42A8 002E clr.l [A0 + 0x2E]
00008354 317C 0002 002C move.w [A0 + 0x2C], 0x2
0000835A A044 syscall SetFPos
0000835C 6600 F3B4 bne -0xC4A /* 00007712 */
00008360 4E75 rts
00008362 6100 F0CA bsr -0xF34 /* 0000742E */
00008366 3B42 F742 move.w [A5 - 0x8BE], D2
0000836A 6B00 F39C bmi -0xC62 /* 00007708 */
0000836E E94A lsl D2.w, 4
00008370 226D F744 movea.l A1, [A5 - 0x8BC]
00008374 4AB1 2000 tst.l [A1 + D2.w]
00008378 6700 F386 beq -0xC78 /* 00007700 */
0000837C 2071 2000 movea.l A0, [A1 + D2.w]
00008380 48E7 E0C0 movem.l -[A7], D0,D1,D2,A0,A1
00008384 2F31 2004 move.l -[A7], [A1 + D2.w + 0x4]
00008388 2F01 move.l -[A7], D1
0000838A 486D F546 pea.l [A5 - 0xABA]
0000838E A867 syscall LongMul
00008390 4CDF 0307 movem.l D0,D1,D2,A0,A1, [A7]+
00008394 4AAD F546 tst.l [A5 - 0xABA]
00008398 6600 F374 bne -0xC8A /* 0000770E */
0000839C D0AD F54A add.l D0, [A5 - 0xAB6]
000083A0 2140 002E move.l [A0 + 0x2E], D0
000083A4 2F00 move.l -[A7], D0
000083A6 317C 0001 002C move.w [A0 + 0x2C], 0x1
000083AC A044 syscall SetFPos
000083AE 6604 bne +0x6 /* 000083B4 */
000083B0 588F addq.l A7, 4
000083B2 4E75 rts
label000083B4:
000083B4 0C40 FFD9 cmpi.w D0, 0xFFD9
000083B8 670A beq +0xC /* 000083C4 */
000083BA 588F addq.l A7, 4
label000083BC:
000083BC 3B40 F73E move.w [A5 - 0x8C2], D0
000083C0 6000 F34C bra -0xCB2 /* 0000770E */
label000083C4:
000083C4 215F 001C move.l [A0 + 0x1C], [A7]+
000083C8 A012 syscall SetEOF
000083CA 6784 beq -0x7A /* 00008350 */
000083CC 0C40 FFDE cmpi.w D0, 0xFFDE
000083D0 6700 F326 beq -0xCD8 /* 000076F8 */
000083D4 60E6 bra -0x18 /* 000083BC */
fn000083D6:
000083D6 6100 F056 bsr -0xFA8 /* 0000742E */
000083DA 6104 bsr +0x6 /* 000083E0 */
000083DC C141 exg D0, D1
000083DE 4E75 rts
fn000083E0:
000083E0 6100 F04C bsr -0xFB2 /* 0000742E */
000083E4 3B40 F742 move.w [A5 - 0x8BE], D0
000083E8 6B00 0030 bmi +0x32 /* 0000841A */
000083EC E948 lsl D0.w, 4
000083EE 3400 move.w D2, D0
000083F0 226D F744 movea.l A1, [A5 - 0x8BC]
000083F4 43F1 0000 lea.l A1, [A1 + D0.w]
000083F8 4A91 tst.l [A1]
000083FA 6604 bne +0x6 /* 00008400 */
000083FC 6000 F302 bra -0xCFC /* 00007700 */
label00008400:
00008400 2051 movea.l A0, [A1]
00008402 A018 syscall GetFPos
00008404 6708 beq +0xA /* 0000840E */
00008406 3B40 F73E move.w [A5 - 0x8C2], D0
0000840A 6000 F302 bra -0xCFC /* 0000770E */
label0000840E:
0000840E 2228 002E move.l D1, [A0 + 0x2E]
00008412 2029 0004 move.l D0, [A1 + 0x4]
00008416 4EFA 81AC jmp [PC - 0x7E54 /* 000005C4 */]
label0000841A:
0000841A 5440 addq.w D0, 2
0000841C 6B00 F2EA bmi -0xD14 /* 00007708 */
00008420 4EFA 079C jmp [PC + 0x79C /* 00008BBE */]
00008424 6100 F008 bsr -0xFF6 /* 0000742E */
00008428 3B41 F742 move.w [A5 - 0x8BE], D1
0000842C 6A04 bpl +0x6 /* 00008432 */
0000842E 4EFA 085C jmp [PC + 0x85C /* 00008C8C */]
label00008432:
00008432 E949 lsl D1.w, 4
00008434 226D F744 movea.l A1, [A5 - 0x8BC]
00008438 4AB1 1000 tst.l [A1 + D1.w]
0000843C 6700 F2C2 beq -0xD3C /* 00007700 */
00008440 2400 move.l D2, D0
00008442 6604 bne +0x6 /* 00008448 */
00008444 2431 1004 move.l D2, [A1 + D1.w + 0x4]
label00008448:
00008448 2071 1000 movea.l A0, [A1 + D1.w]
0000844C A011 syscall GetEOF
0000844E 6600 F2C2 bne -0xD3C /* 00007712 */
00008452 2228 001C move.l D1, [A0 + 0x1C]
00008456 2002 move.l D0, D2
00008458 4EBA 816A jsr [PC - 0x7E96 /* 000005C4 */]
0000845C 4A81 tst.l D1
0000845E 6702 beq +0x4 /* 00008462 */
00008460 5280 addq.l D0, 1
label00008462:
00008462 4E75 rts
export_52:
00008464 6100 EFC8 bsr -0x1036 /* 0000742E */
00008468 3B40 F742 move.w [A5 - 0x8BE], D0
0000846C 4A40 tst.w D0
0000846E 6B00 0084 bmi +0x86 /* 000084F4 */
00008472 226D F744 movea.l A1, [A5 - 0x8BC]
00008476 E948 lsl D0.w, 4
00008478 3400 move.w D2, D0
0000847A 4AB1 0000 tst.l [A1 + D0.w]
0000847E 6700 F280 beq -0xD7E /* 00007700 */
fn00008482:
00008482 2071 0000 movea.l A0, [A1 + D0.w]
00008486 A001 syscall Close
00008488 6600 F288 bne -0xD76 /* 00007712 */
0000848C 42A8 0012 clr.l [A0 + 0x12]
00008490 A013 syscall FlushVol
00008492 6600 F27E bne -0xD80 /* 00007712 */
00008496 2071 2000 movea.l A0, [A1 + D2.w]
0000849A 42B1 2000 clr.l [A1 + D2.w]
0000849E A01F syscall DisposPtr/DisposePtr
000084A0 4E75 rts
label000084A2:
000084A2 6100 EF8A bsr -0x1074 /* 0000742E */
000084A6 763F moveq.l D3, 0x3F
000084A8 226D F744 movea.l A1, [A5 - 0x8BC]
label000084AC:
000084AC 2003 move.l D0, D3
000084AE E948 lsl D0.w, 4
000084B0 3400 move.w D2, D0
000084B2 4AB1 0000 tst.l [A1 + D0.w]
000084B6 6702 beq +0x4 /* 000084BA */
000084B8 61C8 bsr -0x36 /* 00008482 */
label000084BA:
000084BA 51CB FFF0 dbf D3, -0x12 /* 000084AC */
000084BE 70F0 moveq.l D0, 0xFFFFFFF0
000084C0 266D F744 movea.l A3, [A5 - 0x8BC]
000084C4 47F3 0000 lea.l A3, [A3 + D0.w]
000084C8 0C2B 0001 000C cmpi.b [A3 + 0xC], 0x1
000084CE 6604 bne +0x6 /* 000084D4 */
000084D0 4EBA 005A jsr [PC + 0x5A /* 0000852C */]
label000084D4:
000084D4 70E0 moveq.l D0, 0xFFFFFFE0
000084D6 266D F744 movea.l A3, [A5 - 0x8BC]
000084DA 47F3 0000 lea.l A3, [A3 + D0.w]
000084DE 0C2B 0001 000C cmpi.b [A3 + 0xC], 0x1
000084E4 6604 bne +0x6 /* 000084EA */
000084E6 4EBA 0044 jsr [PC + 0x44 /* 0000852C */]
label000084EA:
000084EA 302D F4AE move.w D0, [A5 - 0xB52]
000084EE 6702 beq +0x4 /* 000084F2 */
000084F0 6102 bsr +0x4 /* 000084F4 */
label000084F2:
000084F2 4E75 rts
fn000084F4:
000084F4 3400 move.w D2, D0
000084F6 4440 neg.w D0
000084F8 E948 lsl D0.w, 4
000084FA 4440 neg.w D0
000084FC 266D F744 movea.l A3, [A5 - 0x8BC]
00008500 47F3 0000 lea.l A3, [A3 + D0.w]
00008504 4A93 tst.l [A3]
00008506 6700 F1F8 beq -0xE06 /* 00007700 */
0000850A 0C2B 0001 000C cmpi.b [A3 + 0xC], 0x1
00008510 6700 001A beq +0x1C /* 0000852C */
00008514 0C2B 0002 000C cmpi.b [A3 + 0xC], 0x2
0000851A 6700 0060 beq +0x62 /* 0000857C */
0000851E 0C2B 0003 000C cmpi.b [A3 + 0xC], 0x3
00008524 6700 007E beq +0x80 /* 000085A4 */
00008528 6000 F1D6 bra -0xE28 /* 00007700 */
fn0000852C:
0000852C 422B 000C clr.b [A3 + 0xC]
00008530 2053 movea.l A0, [A3]
00008532 317C EC0A 001C move.w [A0 + 0x1C], 0xEC0A
00008538 317C 0008 001A move.w [A0 + 0x1A], 0x8
0000853E 316B 0008 0018 move.w [A0 + 0x18], [A3 + 0x8]
00008544 A004 syscall Control
00008546 316B 000A 0018 move.w [A0 + 0x18], [A3 + 0xA]
0000854C A004 syscall Control
0000854E 42A8 001C clr.l [A0 + 0x1C]
00008552 4268 0020 clr.w [A0 + 0x20]
00008556 317C 0009 001A move.w [A0 + 0x1A], 0x9 /* '\t' */
0000855C A004 syscall Control
0000855E A001 syscall Close
00008560 5368 0018 subq.w [A0 + 0x18], 1
00008564 A001 syscall Close
00008566 A01F syscall DisposPtr/DisposePtr
00008568 4293 clr.l [A3]
0000856A 4AAB 0004 tst.l [A3 + 0x4]
0000856E 670A beq +0xC /* 0000857A */
00008570 206B 0004 movea.l A0, [A3 + 0x4]
00008574 A01F syscall DisposPtr/DisposePtr
00008576 42AB 0004 clr.l [A3 + 0x4]
label0000857A:
0000857A 4E75 rts
label0000857C:
0000857C 2F13 move.l -[A7], [A3]
0000857E 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
00008582 4A2D F537 tst.b [A5 - 0xAC9]
00008586 660E bne +0x10 /* 00008596 */
00008588 206B 0008 movea.l A0, [A3 + 0x8]
0000858C A01F syscall DisposPtr/DisposePtr
0000858E 426D F4AE clr.w [A5 - 0xB52]
00008592 4293 clr.l [A3]
00008594 4E75 rts
label00008596:
00008596 206B 0008 movea.l A0, [A3 + 0x8]
0000859A A023 syscall DisposHandle/DisposeHandle
0000859C 426D F4AE clr.w [A5 - 0xB52]
000085A0 4293 clr.l [A3]
000085A2 4E75 rts
label000085A4:
000085A4 2053 movea.l A0, [A3]
000085A6 317C 00FA 001A move.w [A0 + 0x1A], 0xFA
000085AC A004 syscall Control
000085AE 6704 beq +0x6 /* 000085B4 */
000085B0 6000 F168 bra -0xE96 /* 0000771A */
label000085B4:
000085B4 4868 0089 pea.l [A0 + 0x89]
000085B8 215F 001E move.l [A0 + 0x1E], [A7]+
000085BC 317C FFF6 0018 move.w [A0 + 0x18], 0xFFF6
000085C2 317C 00FC 001A move.w [A0 + 0x1A], 0xFC
000085C8 A004 syscall Control
000085CA 6704 beq +0x6 /* 000085D0 */
000085CC 6000 F14C bra -0xEB2 /* 0000771A */
label000085D0:
000085D0 2053 movea.l A0, [A3]
000085D2 A01F syscall DisposPtr/DisposePtr
000085D4 4293 clr.l [A3]
000085D6 4E75 rts
fn000085D8:
000085D8 48E7 E080 movem.l -[A7], D0,D1,D2,A0
000085DC 203C 0000 0400 move.l D0, 0x400
000085E2 A31E syscall NewPtrClear, flags=3
000085E4 2248 movea.l A1, A0
000085E6 6704 beq +0x6 /* 000085EC */
000085E8 3B40 F73E move.w [A5 - 0x8C2], D0
label000085EC:
000085EC 4CDF 0107 movem.l D0,D1,D2,A0, [A7]+
000085F0 6606 bne +0x8 /* 000085F8 */
000085F2 023C 00FE andi.b ccr, 254
000085F6 4E75 rts
label000085F8:
000085F8 003C 0001 ori.b ccr, 1
000085FC 4E75 rts
000085FE 6100 EE2E bsr -0x11D0 /* 0000742E */
00008602 7002 moveq.l D0, 0x02
00008604 6022 bra +0x24 /* 00008628 */
00008606 6100 EE26 bsr -0x11D8 /* 0000742E */
0000860A 7004 moveq.l D0, 0x04
0000860C 601A bra +0x1C /* 00008628 */
0000860E 6100 EE1E bsr -0x11E0 /* 0000742E */
00008612 7000 moveq.l D0, 0x00
00008614 302D FDA2 move.w D0, [A5 - 0x25E]
00008618 5240 addq.w D0, 1
0000861A 600C bra +0xE /* 00008628 */
0000861C 6100 EE10 bsr -0x11EE /* 0000742E */
00008620 7000 moveq.l D0, 0x00
00008622 302D FDA4 move.w D0, [A5 - 0x25C]
00008626 5240 addq.w D0, 1
label00008628:
00008628 4EBA 00CA jsr [PC + 0xCA /* 000086F4 */]
0000862C 6500 F0D2 bcs -0xF2C /* 00007700 */
00008630 0C02 0001 cmpi.b D2, 0x1
00008634 6604 bne +0x6 /* 0000863A */
00008636 3143 0018 move.w [A0 + 0x18], D3
label0000863A:
0000863A A002 syscall Read
0000863C 6600 F0D4 bne -0xF2A /* 00007712 */
00008640 0C02 0001 cmpi.b D2, 0x1
00008644 6702 beq +0x4 /* 00008648 */
00008646 4E75 rts
label00008648:
00008648 2428 0028 move.l D2, [A0 + 0x28]
0000864C 670C beq +0xE /* 0000865A */
0000864E 5342 subq.w D2, 1
00008650 102D F536 move.b D0, [A5 - 0xACA]
label00008654:
00008654 C119 .incomplete
00008656 51CA FFFC dbf D2, -0x6 /* 00008654 */
label0000865A:
0000865A 4E75 rts
0000865C 10C0 move.b [A0]+, D0
0000865E 6100 EDCE bsr -0x1230 /* 0000742E */
00008662 4EBA 0090 jsr [PC + 0x90 /* 000086F4 */]
00008666 6500 F098 bcs -0xF66 /* 00007700 */
0000866A 0C02 0001 cmpi.b D2, 0x1
0000866E 670E beq +0x10 /* 0000867E */
00008670 A002 syscall Read
00008672 6600 F09E bne -0xF60 /* 00007712 */
00008676 4E71 nop
00008678 4E71 nop
0000867A 4E71 nop
0000867C 4E75 rts
label0000867E:
0000867E 3143 0018 move.w [A0 + 0x18], D3
00008682 4A80 tst.l D0
00008684 6614 bne +0x16 /* 0000869A */
00008686 317C 0002 001A move.w [A0 + 0x1A], 0x2
0000868C A005 syscall Status
0000868E 4AA8 001C tst.l [A0 + 0x1C]
00008692 6724 beq +0x26 /* 000086B8 */
00008694 117C 0001 0027 move.b [A0 + 0x27], 0x1
label0000869A:
0000869A A002 syscall Read
0000869C 6600 F074 bne -0xF8A /* 00007712 */
000086A0 2428 0028 move.l D2, [A0 + 0x28]
000086A4 1342 FFFF move.b [A1 - 0x1], D2
000086A8 670C beq +0xE /* 000086B6 */
000086AA 5342 subq.w D2, 1
000086AC 102D F536 move.b D0, [A5 - 0xACA]
label000086B0:
000086B0 C119 .incomplete
000086B2 51CA FFFC dbf D2, -0x6 /* 000086B0 */
label000086B6:
000086B6 4E75 rts
label000086B8:
000086B8 4229 FFFF clr.b [A1 - 0x1]
000086BC 4E75 rts
fn000086BE:
000086BE 41ED F534 lea.l A0, [A5 - 0xACC]
000086C2 7001 moveq.l D0, 0x01
000086C4 612E bsr +0x30 /* 000086F4 */
000086C6 652A bcs +0x2C /* 000086F2 */
000086C8 0C02 0001 cmpi.b D2, 0x1
000086CC 6604 bne +0x6 /* 000086D2 */
000086CE 3143 0018 move.w [A0 + 0x18], D3
label000086D2:
000086D2 A002 syscall Read
000086D4 6600 0014 bne +0x16 /* 000086EA */
000086D8 1011 move.b D0, [A1]
000086DA 0C02 0001 cmpi.b D2, 0x1
000086DE 6604 bne +0x6 /* 000086E4 */
000086E0 C02D F536 and.b D0, [A5 - 0xACA]
label000086E4:
000086E4 023C 00FE andi.b ccr, 254
000086E8 4E75 rts
label000086EA:
000086EA 3B40 F73E move.w [A5 - 0x8C2], D0
000086EE 003C 0001 ori.b ccr, 1
label000086F2:
000086F2 4E75 rts
fn000086F4:
000086F4 322D F742 move.w D1, [A5 - 0x8BE]
000086F8 6A08 bpl +0xA /* 00008702 */
000086FA 4441 neg.w D1
000086FC E949 lsl D1.w, 4
000086FE 4441 neg.w D1
00008700 6002 bra +0x4 /* 00008704 */
label00008702:
00008702 E949 lsl D1.w, 4
label00008704:
00008704 226D F744 movea.l A1, [A5 - 0x8BC]
00008708 43F1 1000 lea.l A1, [A1 + D1.w]
0000870C 1429 000C move.b D2, [A1 + 0xC]
00008710 2629 0008 move.l D3, [A1 + 0x8]
00008714 4A91 tst.l [A1]
00008716 6716 beq +0x18 /* 0000872E */
00008718 2251 movea.l A1, [A1]
0000871A 2348 0020 move.l [A1 + 0x20], A0
0000871E 2340 0024 move.l [A1 + 0x24], D0
00008722 4269 002C clr.w [A1 + 0x2C]
00008726 C348 exg A1, A0
00008728 023C 00FE andi.b ccr, 254
0000872C 4E75 rts
label0000872E:
0000872E 003C 0001 ori.b ccr, 1
00008732 4E75 rts
fn00008734:
00008734 6100 ECF8 bsr -0x1306 /* 0000742E */
00008738 41ED F534 lea.l A0, [A5 - 0xACC]
0000873C 1080 move.b [A0], D0
0000873E 7001 moveq.l D0, 0x01
fn00008740:
00008740 142D F64B move.b D2, [A5 - 0x9B5]
00008744 4882 ext.w D2
00008746 3B42 F742 move.w [A5 - 0x8BE], D2
0000874A 602A bra +0x2C /* 00008776 */
0000874C 6100 ECE0 bsr -0x131E /* 0000742E */
00008750 7002 moveq.l D0, 0x02
00008752 6022 bra +0x24 /* 00008776 */
00008754 6100 ECD8 bsr -0x1326 /* 0000742E */
00008758 7004 moveq.l D0, 0x04
0000875A 601A bra +0x1C /* 00008776 */
0000875C 6100 ECD0 bsr -0x132E /* 0000742E */
00008760 7000 moveq.l D0, 0x00
00008762 302D FDA2 move.w D0, [A5 - 0x25E]
00008766 5240 addq.w D0, 1
00008768 600C bra +0xE /* 00008776 */
0000876A 6100 ECC2 bsr -0x133C /* 0000742E */
0000876E 7000 moveq.l D0, 0x00
00008770 302D FDA4 move.w D0, [A5 - 0x25C]
00008774 5240 addq.w D0, 1
label00008776:
00008776 6100 FF7C bsr -0x82 /* 000086F4 */
0000877A 6500 EF84 bcs -0x107A /* 00007700 */
0000877E 0C02 0001 cmpi.b D2, 0x1
00008782 6606 bne +0x8 /* 0000878A */
00008784 4843 swap.w D3
00008786 3143 0018 move.w [A0 + 0x18], D3
label0000878A:
0000878A A003 syscall Write
0000878C 6600 EF84 bne -0x107A /* 00007712 */
00008790 4E75 rts
00008792 6100 EC9A bsr -0x1364 /* 0000742E */
00008796 60DE bra -0x20 /* 00008776 */
00008798 6100 EC94 bsr -0x136A /* 0000742E */
0000879C 7200 moveq.l D1, 0x00
0000879E 1218 move.b D1, [A0]+
000087A0 B240 cmp.w D1, D0
000087A2 64D2 bcc -0x2C /* 00008776 */
000087A4 3F00 move.w -[A7], D0
000087A6 9041 sub.w D0, D1
000087A8 43ED FA7E lea.l A1, [A5 - 0x582]
000087AC 5340 subq.w D0, 1
000087AE 6002 bra +0x4 /* 000087B2 */
label000087B0:
000087B0 12D8 move.b [A1]+, [A0]+
label000087B2:
000087B2 51C9 FFFC dbf D1, -0x6 /* 000087B0 */
label000087B6:
000087B6 12FC 0020 move.b [A1]+, 0x20 /* ' ' */
000087BA 51C8 FFFA dbf D0, -0x8 /* 000087B6 */
000087BE 41ED FA7E lea.l A0, [A5 - 0x582]
000087C2 301F move.w D0, [A7]+
000087C4 60B0 bra -0x4E /* 00008776 */
export_46:
000087C6 6100 EC66 bsr -0x1398 /* 0000742E */
000087CA 2648 movea.l A3, A0
000087CC 2448 movea.l A2, A0
000087CE 421A clr.b [A2]+
000087D0 4EBA 0098 jsr [PC + 0x98 /* 0000886A */]
000087D4 6500 EF40 bcs -0x10BE /* 00007716 */
label000087D8:
000087D8 0C00 0022 cmpi.b D0, 0x22 /* '\"' */
000087DC 6700 0036 beq +0x38 /* 00008814 */
000087E0 0C00 002C cmpi.b D0, 0x2C /* ',' */
000087E4 672C beq +0x2E /* 00008812 */
000087E6 0C00 0020 cmpi.b D0, 0x20 /* ' ' */
000087EA 660C bne +0xE /* 000087F8 */
000087EC 538A subq.l A2, 1
000087EE 4EBA 008E jsr [PC + 0x8E /* 0000887E */]
000087F2 6500 EF22 bcs -0x10DC /* 00007716 */
000087F6 60E0 bra -0x1E /* 000087D8 */
label000087F8:
000087F8 5213 addq.b [A3], 1
000087FA 4EBA 0082 jsr [PC + 0x82 /* 0000887E */]
000087FE 6500 EF16 bcs -0x10E8 /* 00007716 */
00008802 0C00 002C cmpi.b D0, 0x2C /* ',' */
00008806 670A beq +0xC /* 00008812 */
00008808 0C00 000D cmpi.b D0, 0xD /* '\r' */
0000880C 6704 beq +0x6 /* 00008812 */
0000880E 51C9 FFE8 dbf D1, -0x1A /* 000087F8 */
label00008812:
00008812 4E75 rts
label00008814:
00008814 538A subq.l A2, 1
label00008816:
00008816 4EBA 0066 jsr [PC + 0x66 /* 0000887E */]
0000881A 6500 EEFA bcs -0x1104 /* 00007716 */
0000881E 0C40 0022 cmpi.w D0, 0x22 /* '\"' */
00008822 6708 beq +0xA /* 0000882C */
00008824 5213 addq.b [A3], 1
00008826 51C9 FFEE dbf D1, -0x14 /* 00008816 */
0000882A 4E75 rts
label0000882C:
0000882C 4EBA 0050 jsr [PC + 0x50 /* 0000887E */]
00008830 6500 EEE4 bcs -0x111A /* 00007716 */
00008834 538A subq.l A2, 1
00008836 0C00 002C cmpi.b D0, 0x2C /* ',' */
0000883A 6706 beq +0x8 /* 00008842 */
0000883C 0C00 000D cmpi.b D0, 0xD /* '\r' */
00008840 66EA bne -0x14 /* 0000882C */
label00008842:
00008842 4E75 rts
00008844 6100 EBE8 bsr -0x1416 /* 0000742E */
00008848 6104 bsr +0x6 /* 0000884E */
0000884A 3080 move.w [A0], D0
0000884C 4E75 rts
fn0000884E:
0000884E 2F08 move.l -[A7], A0
00008850 6142 bsr +0x44 /* 00008894 */
00008852 41ED FA7E lea.l A0, [A5 - 0x582]
00008856 4EBA 84E0 jsr [PC - 0x7B20 /* 00000D38 */]
0000885A 205F movea.l A0, [A7]+
0000885C 4E75 rts
0000885E 6100 EBCE bsr -0x1430 /* 0000742E */
00008862 61EA bsr -0x14 /* 0000884E */
00008864 2080 move.l [A0], D0
00008866 4E75 rts
label00008868:
00008868 538A subq.l A2, 1
fn0000886A:
0000886A 323C 00FF move.w D1, 0xFF
0000886E 610E bsr +0x10 /* 0000887E */
00008870 650A bcs +0xC /* 0000887C */
00008872 0C00 000A cmpi.b D0, 0xA /* '\n' */
00008876 67F0 beq -0xE /* 00008868 */
00008878 023C 00FE andi.b ccr, 254
label0000887C:
0000887C 4E75 rts
fn0000887E:
0000887E 4A6D F740 tst.w [A5 - 0x8C0]
00008882 660A bne +0xC /* 0000888E */
00008884 6100 FE38 bsr -0x1C6 /* 000086BE */
00008888 6508 bcs +0xA /* 00008892 */
0000888A 14C0 move.b [A2]+, D0
0000888C 4E75 rts
label0000888E:
0000888E 003C 0001 ori.b ccr, 1
label00008892:
00008892 4E75 rts
fn00008894:
00008894 45ED FA7E lea.l A2, [A5 - 0x582]
00008898 61D0 bsr -0x2E /* 0000886A */
0000889A 6516 bcs +0x18 /* 000088B2 */
label0000889C:
0000889C 0C00 000D cmpi.b D0, 0xD /* '\r' */
000088A0 670E beq +0x10 /* 000088B0 */
000088A2 0C00 002C cmpi.b D0, 0x2C /* ',' */
000088A6 6708 beq +0xA /* 000088B0 */
000088A8 61D4 bsr -0x2A /* 0000887E */
000088AA 6506 bcs +0x8 /* 000088B2 */
000088AC 51C9 FFEE dbf D1, -0x14 /* 0000889C */
label000088B0:
000088B0 4E75 rts
label000088B2:
000088B2 0C40 FFD9 cmpi.w D0, 0xFFD9
000088B6 6700 EE3C beq -0x11C2 /* 000076F4 */
000088BA 0C40 FFDA cmpi.w D0, 0xFFDA
000088BE 6700 EE40 beq -0x11BE /* 00007700 */
000088C2 6000 EE4E bra -0x11B0 /* 00007712 */
000088C6 6100 EB66 bsr -0x1498 /* 0000742E */
000088CA 6104 bsr +0x6 /* 000088D0 */
000088CC 4EFA D654 jmp [PC - 0x29AC /* 00005F22 */]
fn000088D0:
000088D0 2F08 move.l -[A7], A0
000088D2 61C0 bsr -0x3E /* 00008894 */
000088D4 41ED FA7E lea.l A0, [A5 - 0x582]
000088D8 4EBA D4AA jsr [PC - 0x2B56 /* 00005D84 */]
000088DC 205F movea.l A0, [A7]+
000088DE 4E75 rts
000088E0 6100 EB4C bsr -0x14B2 /* 0000742E */
000088E4 61EA bsr -0x14 /* 000088D0 */
000088E6 4EFA D6D4 jmp [PC - 0x292C /* 00005FBC */]
000088EA 6100 EB42 bsr -0x14BC /* 0000742E */
000088EE 5288 addq.l A0, 1
000088F0 203C 0000 00FE move.l D0, 0xFE
000088F6 6100 FDFC bsr -0x202 /* 000086F4 */
000088FA 6500 EE04 bcs -0x11FA /* 00007700 */
000088FE 0C02 0001 cmpi.b D2, 0x1
00008902 6730 beq +0x32 /* 00008934 */
00008904 317C 0D80 002C move.w [A0 + 0x2C], 0xD80
0000890A A002 syscall Read
0000890C 6614 bne +0x16 /* 00008922 */
label0000890E:
0000890E 2028 0028 move.l D0, [A0 + 0x28]
00008912 0C31 000D 00FF cmpi.b [A1 + D0.w - 0x1], 0xD /* '\r' */
00008918 6602 bne +0x4 /* 0000891C */
0000891A 5340 subq.w D0, 1
label0000891C:
0000891C 1340 FFFF move.b [A1 - 0x1], D0
00008920 4E75 rts
label00008922:
00008922 0C40 FFD9 cmpi.w D0, 0xFFD9
00008926 6600 EDEA bne -0x1214 /* 00007712 */
0000892A 4AA8 0028 tst.l [A0 + 0x28]
0000892E 66DE bne -0x20 /* 0000890E */
00008930 4EFA EDC2 jmp [PC - 0x123E /* 000076F4 */]
label00008934:
00008934 486D F534 pea.l [A5 - 0xACC]
00008938 215F 0020 move.l [A0 + 0x20], [A7]+
0000893C 3143 0018 move.w [A0 + 0x18], D3
00008940 7E00 moveq.l D7, 0x00
00008942 317C 0001 0026 move.w [A0 + 0x26], 0x1
label00008948:
00008948 A002 syscall Read
0000894A 661C bne +0x1E /* 00008968 */
0000894C 102D F534 move.b D0, [A5 - 0xACC]
00008950 C02D F536 and.b D0, [A5 - 0xACA]
00008954 0C00 000D cmpi.b D0, 0xD /* '\r' */
00008958 671C beq +0x1E /* 00008976 */
0000895A 1380 7000 move.b [A1 + D7.w], D0
0000895E 5247 addq.w D7, 1
00008960 0C47 00FF cmpi.w D7, 0xFF
00008964 65E2 bcs -0x1C /* 00008948 */
00008966 600E bra +0x10 /* 00008976 */
label00008968:
00008968 0C40 FFD9 cmpi.w D0, 0xFFD9
0000896C 6600 EDA4 bne -0x125A /* 00007712 */
00008970 4A47 tst.w D7
00008972 6700 ED80 beq -0x127E /* 000076F4 */
label00008976:
00008976 1347 FFFF move.b [A1 - 0x1], D7
0000897A 4E75 rts
0000897C 426D F73E clr.w [A5 - 0x8C2]
00008980 3600 move.w D3, D0
00008982 615C bsr +0x5E /* 000089E0 */
00008984 201F move.l D0, [A7]+
00008986 225F movea.l A1, [A7]+
00008988 2149 0012 move.l [A0 + 0x12], A1
0000898C 2F00 move.l -[A7], D0
0000898E 3143 0016 move.w [A0 + 0x16], D3
00008992 4A11 tst.b [A1]
00008994 660C bne +0xE /* 000089A2 */
00008996 4A43 tst.w D3
00008998 660E bne +0x10 /* 000089A8 */
0000899A 42A8 0012 clr.l [A0 + 0x12]
0000899E A014 syscall GetVol/PBHGetVol/HGetVol
000089A0 600C bra +0xE /* 000089AE */
label000089A2:
000089A2 7001 moveq.l D0, 0x01
000089A4 A260 syscall FSDispatch/HFSDispatch, flags=2
000089A6 660E bne +0x10 /* 000089B6 */
label000089A8:
000089A8 42A8 0012 clr.l [A0 + 0x12]
000089AC A015 syscall SetVol/PBHSetVol/HSetVol
label000089AE:
000089AE 7000 moveq.l D0, 0x00
000089B0 3028 0016 move.w D0, [A0 + 0x16]
000089B4 4E75 rts
label000089B6:
000089B6 4A43 tst.w D3
000089B8 6710 beq +0x12 /* 000089CA */
000089BA 7006 moveq.l D0, 0x06
000089BC A260 syscall FSDispatch/HFSDispatch, flags=2
000089BE 660A bne +0xC /* 000089CA */
000089C0 42A8 0030 clr.l [A0 + 0x30]
000089C4 7001 moveq.l D0, 0x01
000089C6 A260 syscall FSDispatch/HFSDispatch, flags=2
000089C8 67DE beq -0x20 /* 000089A8 */
label000089CA:
000089CA 3B40 F73E move.w [A5 - 0x8C2], D0
000089CE 7000 moveq.l D0, 0x00
000089D0 4E75 rts
000089D2 3200 move.w D1, D0
000089D4 610A bsr +0xC /* 000089E0 */
000089D6 3141 0016 move.w [A0 + 0x16], D1
000089DA 7002 moveq.l D0, 0x02
000089DC A260 syscall FSDispatch/HFSDispatch, flags=2
000089DE 4E75 rts
fn000089E0:
000089E0 41ED FEFC lea.l A0, [A5 - 0x104]
000089E4 701F moveq.l D0, 0x1F
label000089E6:
000089E6 42A0 clr.l -[A0]
000089E8 51C8 FFFC dbf D0, -0x6 /* 000089E6 */
000089EC 4E75 rts
000089EE 003B 0098 004D ori.b [PC + D0.w + 0x4D], 0x98
000089F4 00E8 0000 ori.? [A0 + 0x0], 0xFFFFFFFFFFFFFFFF
000089F8 042E 4154 5000 subi.b [A6 + 0x5000], 0x54 /* 'T' */
000089FE 042E 4D50 5000 subi.b [A6 + 0x5000], 0x50 /* 'P' */
00008A04 034D bchg A5, D1
00008A06 4653 not.w [A3]
00008A08 0348 bchg A0, D1
00008A0A 4653 not.w [A3]
00008A0C 7010 moveq.l D0, 0x10
00008A0E 4EBA EA18 jsr [PC - 0x15E8 /* 00007428 */]
00008A12 362F 000E move.w D3, [A7 + 0xE]
00008A16 6B04 bmi +0x6 /* 00008A1C */
label00008A18:
00008A18 4EFA ECEE jmp [PC - 0x1312 /* 00007708 */]
label00008A1C:
00008A1C 4443 neg.w D3
00008A1E 0C43 0003 cmpi.w D3, 0x3
00008A22 64F4 bcc -0xA /* 00008A18 */
00008A24 E94B lsl D3.w, 4
00008A26 246D F744 movea.l A2, [A5 - 0x8BC]
00008A2A 4443 neg.w D3
00008A2C 45F2 3000 lea.l A2, [A2 + D3.w]
00008A30 4A92 tst.l [A2]
00008A32 670C beq +0xE /* 00008A40 */
00008A34 0C2A 0001 000C cmpi.b [A2 + 0xC], 0x1
00008A3A 66DC bne -0x22 /* 00008A18 */
00008A3C 4EFA 008A jmp [PC + 0x8A /* 00008AC8 */]
label00008A40:
00008A40 302F 000E move.w D0, [A7 + 0xE]
00008A44 4241 clr.w D1
00008A46 357C FFF9 0008 move.w [A2 + 0x8], 0xFFF9
00008A4C 357C FFFA 000A move.w [A2 + 0xA], 0xFFFA
00008A52 487A 02C2 pea.l [PC + 0x2C2 /* 00008D16, value 0x42E4149, pstring ".AIn" */]
00008A56 487A 02C3 pea.l [PC + 0x2C3 /* 00008D1B, value 0x52E414F, pstring ".AOut" */]
00008A5A 5240 addq.w D0, 1
00008A5C 6722 beq +0x24 /* 00008A80 */
00008A5E 08C1 0008 bset.b D1, 0x8
00008A62 357C FFF7 0008 move.w [A2 + 0x8], 0xFFF7
00008A68 357C FFF8 000A move.w [A2 + 0xA], 0xFFF8
00008A6E 508F addq.l A7, 8
00008A70 487A 02AF pea.l [PC + 0x2AF /* 00008D21, value 0x42E4249, pstring ".BIn" */]
00008A74 487A 02B0 pea.l [PC + 0x2B0 /* 00008D26, value 0x52E424F, pstring ".BOut" */]
00008A78 5240 addq.w D0, 1
00008A7A 6704 beq +0x6 /* 00008A80 */
00008A7C 508F addq.l A7, 8
00008A7E 6098 bra -0x66 /* 00008A18 */
label00008A80:
00008A80 2B5F F596 move.l [A5 - 0xA6A], [A7]+
00008A84 2B5F F59A move.l [A5 - 0xA66], [A7]+
00008A88 203C 0000 0100 move.l D0, 0x100
00008A8E A31E syscall NewPtrClear, flags=3
00008A90 6704 beq +0x6 /* 00008A96 */
label00008A92:
00008A92 4EFA EC8A jmp [PC - 0x1376 /* 0000771E */]
label00008A96:
00008A96 2488 move.l [A2], A0
00008A98 157C 0001 000C move.b [A2 + 0xC], 0x1
00008A9E 117C 0002 001B move.b [A0 + 0x1B], 0x2
00008AA4 216D F596 0012 move.l [A0 + 0x12], [A5 - 0xA6A]
00008AAA A000 syscall Open/PBHOpen/HOpen
00008AAC 66E4 bne -0x1A /* 00008A92 */
00008AAE 117C 0001 001B move.b [A0 + 0x1B], 0x1
00008AB4 216D F59A 0012 move.l [A0 + 0x12], [A5 - 0xA66]
00008ABA A000 syscall Open/PBHOpen/HOpen
00008ABC 66D4 bne -0x2A /* 00008A92 */
00008ABE 357C 6D7C 000E move.w [A2 + 0xE], 0x6D7C /* 'm|' */
00008AC4 42AA 0004 clr.l [A2 + 0x4]
label00008AC8:
00008AC8 7000 moveq.l D0, 0x00
00008ACA 4A6F 0004 tst.w [A7 + 0x4]
00008ACE 6B3C bmi +0x3E /* 00008B0C */
00008AD0 4AAA 0004 tst.l [A2 + 0x4]
00008AD4 670A beq +0xC /* 00008AE0 */
00008AD6 206A 0004 movea.l A0, [A2 + 0x4]
00008ADA A01F syscall DisposPtr/DisposePtr
00008ADC 42AA 0004 clr.l [A2 + 0x4]
label00008AE0:
00008AE0 7000 moveq.l D0, 0x00
00008AE2 302F 0004 move.w D0, [A7 + 0x4]
00008AE6 6708 beq +0xA /* 00008AF0 */
00008AE8 A11E syscall NewPtr, flags=1
00008AEA 66A6 bne -0x58 /* 00008A92 */
00008AEC 2548 0004 move.l [A2 + 0x4], A0
label00008AF0:
00008AF0 2252 movea.l A1, [A2]
00008AF2 337C 0009 001A move.w [A1 + 0x1A], 0x9 /* '\t' */
00008AF8 2348 001C move.l [A1 + 0x1C], A0
00008AFC 336A 000A 0018 move.w [A1 + 0x18], [A2 + 0xA]
00008B02 336F 0004 0020 move.w [A1 + 0x20], [A7 + 0x4]
00008B08 C348 exg A1, A0
00008B0A A004 syscall Control
label00008B0C:
00008B0C 342A 000E move.w D2, [A2 + 0xE]
00008B10 302F 0006 move.w D0, [A7 + 0x6]
00008B14 6B1C bmi +0x1E /* 00008B32 */
00008B16 0242 F3FF andi.w D2, 0xF3FF
00008B1A 0240 0003 andi.w D0, 0x3
00008B1E 43FA 01EC lea.l A1, [PC + 0x1EC /* 00008D0C, value 0x7FFF1F3F */]
00008B22 1B71 0000 F536 move.b [A5 - 0xACA], [A1 + D0.w]
00008B28 43FA 01DA lea.l A1, [PC + 0x1DA /* 00008D04, value 0x4000C00 */]
00008B2C D040 add.w D0, D0
00008B2E 8471 0000 or.w D2, [A1 + D0.w]
label00008B32:
00008B32 302F 0008 move.w D0, [A7 + 0x8]
00008B36 6B14 bmi +0x16 /* 00008B4C */
00008B38 0242 3FFF andi.w D2, 0x3FFF
00008B3C 5240 addq.w D0, 1
00008B3E 0240 0003 andi.w D0, 0x3
00008B42 D040 add.w D0, D0
00008B44 43FA 01C8 lea.l A1, [PC + 0x1C8 /* 00008D0E, value 0x1F3F4000 */]
00008B48 8471 0000 or.w D2, [A1 + D0.w]
label00008B4C:
00008B4C 302F 000A move.w D0, [A7 + 0xA]
00008B50 6B12 bmi +0x14 /* 00008B64 */
00008B52 0242 CFFF andi.w D2, 0xCFFF
00008B56 0240 0003 andi.w D0, 0x3
00008B5A D040 add.w D0, D0
00008B5C 43FA 016C lea.l A1, [PC + 0x16C /* 00008CCA, value 0x20001000 */]
00008B60 8471 0000 or.w D2, [A1 + D0.w]
label00008B64:
00008B64 302F 000C move.w D0, [A7 + 0xC]
00008B68 671A beq +0x1C /* 00008B84 */
00008B6A 0242 FC00 andi.w D2, 0xFC00
00008B6E 7200 moveq.l D1, 0x00
00008B70 43FA 0178 lea.l A1, [PC + 0x178 /* 00008CEA, value 0x12C0258 */]
label00008B74:
00008B74 B059 cmp.w D0, [A1]+
00008B76 6304 bls +0x6 /* 00008B7C */
00008B78 5441 addq.w D1, 2
00008B7A 60F8 bra -0x6 /* 00008B74 */
label00008B7C:
00008B7C 43FA 0154 lea.l A1, [PC + 0x154 /* 00008CD2, value 0x17C00BD */]
00008B80 8471 1000 or.w D2, [A1 + D1.w]
label00008B84:
00008B84 3142 001C move.w [A0 + 0x1C], D2
00008B88 3542 000E move.w [A2 + 0xE], D2
00008B8C 317C 0008 001A move.w [A0 + 0x1A], 0x8
00008B92 316A 0008 0018 move.w [A0 + 0x18], [A2 + 0x8]
00008B98 A004 syscall Control
00008B9A 6704 beq +0x6 /* 00008BA0 */
label00008B9C:
00008B9C 4EFA EB80 jmp [PC - 0x1480 /* 0000771E */]
label00008BA0:
00008BA0 316A 000A 0018 move.w [A0 + 0x18], [A2 + 0xA]
00008BA6 3142 001C move.w [A0 + 0x1C], D2
00008BAA 317C 0008 001A move.w [A0 + 0x1A], 0x8
00008BB0 A004 syscall Control
00008BB2 66E8 bne -0x16 /* 00008B9C */
00008BB4 2F57 000C move.l [A7 + 0xC], [A7]
00008BB8 4FEF 000C lea.l A7, [A7 + 0xC]
00008BBC 4E75 rts
label00008BBE:
00008BBE 6704 beq +0x6 /* 00008BC4 */
00008BC0 74FA moveq.l D2, 0xFFFFFFFA
00008BC2 6002 bra +0x4 /* 00008BC6 */
label00008BC4:
00008BC4 74F8 moveq.l D2, 0xFFFFFFF8
label00008BC6:
00008BC6 4E53 FF7C link A3, -0x0084
00008BCA 41EB FF80 lea.l A0, [A3 - 0x80]
00008BCE 3142 0018 move.w [A0 + 0x18], D2
00008BD2 42A8 0020 clr.l [A0 + 0x20]
00008BD6 42A8 000C clr.l [A0 + 0xC]
00008BDA 317C 0008 001A move.w [A0 + 0x1A], 0x8
00008BE0 42A8 000C clr.l [A0 + 0xC]
00008BE4 A005 syscall Status
00008BE6 6704 beq +0x6 /* 00008BEC */
00008BE8 3B40 F73E move.w [A5 - 0x8C2], D0
label00008BEC:
00008BEC 7000 moveq.l D0, 0x00
00008BEE 4A28 0020 tst.b [A0 + 0x20]
00008BF2 6602 bne +0x4 /* 00008BF6 */
00008BF4 70FF moveq.l D0, 0xFFFFFFFF
label00008BF6:
00008BF6 2200 move.l D1, D0
00008BF8 4E5B unlink A3
00008BFA 4E75 rts
00008BFC 265F movea.l A3, [A7]+
00008BFE 321F move.w D1, [A7]+
00008C00 2F0B move.l -[A7], A3
00008C02 74F9 moveq.l D2, 0xFFFFFFF9
00008C04 5241 addq.w D1, 1
00008C06 6708 beq +0xA /* 00008C10 */
00008C08 74F7 moveq.l D2, 0xFFFFFFF7
00008C0A 5241 addq.w D1, 1
00008C0C 6702 beq +0x4 /* 00008C10 */
00008C0E 4E75 rts
label00008C10:
00008C10 4E53 FF7C link A3, -0x0084
00008C14 41EB FF80 lea.l A0, [A3 - 0x80]
00008C18 3142 0018 move.w [A0 + 0x18], D2
00008C1C 42A8 0020 clr.l [A0 + 0x20]
00008C20 42A8 000C clr.l [A0 + 0xC]
00008C24 317C 0011 001A move.w [A0 + 0x1A], 0x11
00008C2A 5580 subq.l D0, 2
00008C2C 672E beq +0x30 /* 00008C5C */
00008C2E 5268 001A addq.w [A0 + 0x1A], 1
00008C32 5880 addq.l D0, 4
00008C34 6726 beq +0x28 /* 00008C5C */
00008C36 317C 000A 001A move.w [A0 + 0x1A], 0xA /* '\n' */
00008C3C 217A 002A 001C move.l [A0 + 0x1C], [PC + 0x2A /* 00008C68, value 0x1113 */]
00008C42 5580 subq.l D0, 2
00008C44 6712 beq +0x14 /* 00008C58 */
00008C46 6B06 bmi +0x8 /* 00008C4E */
00008C48 50E8 001C st [A0 + 0x1C]
00008C4C 600A bra +0xC /* 00008C58 */
label00008C4E:
00008C4E 50E8 001D st [A0 + 0x1D]
00008C52 50E8 0022 st [A0 + 0x22]
00008C56 4440 neg.w D0
label00008C58:
00008C58 1140 0020 move.b [A0 + 0x20], D0
label00008C5C:
00008C5C A004 syscall Control
00008C5E 6704 beq +0x6 /* 00008C64 */
00008C60 3B40 F73E move.w [A5 - 0x8C2], D0
label00008C64:
00008C64 4E5B unlink A3
00008C66 4E75 rts
00008C68 0000 1113 ori.b D0, 0x13
00008C6C 7202 moveq.l D1, 0x02
00008C6E 5240 addq.w D0, 1
00008C70 670E beq +0x10 /* 00008C80 */
00008C72 7200 moveq.l D1, 0x00
00008C74 5240 addq.w D0, 1
00008C76 6708 beq +0xA /* 00008C80 */
00008C78 203C FFFF D8F1 move.l D0, 0xFFFFD8F1
00008C7E 4E75 rts
label00008C80:
00008C80 2078 01D8 movea.l A0, [0x000001D8 /* SCCRd */]
00008C84 7000 moveq.l D0, 0x00
00008C86 1030 1000 move.b D0, [A0 + D1.w]
00008C8A 4E75 rts
label00008C8C:
00008C8C 3001 move.w D0, D1
00008C8E 72FA moveq.l D1, 0xFFFFFFFA
00008C90 5240 addq.w D0, 1
00008C92 670A beq +0xC /* 00008C9E */
00008C94 72F8 moveq.l D1, 0xFFFFFFF8
00008C96 5240 addq.w D0, 1
00008C98 6704 beq +0x6 /* 00008C9E */
00008C9A 70FF moveq.l D0, 0xFFFFFFFF
00008C9C 4E75 rts
label00008C9E:
00008C9E 4E53 FF7C link A3, -0x0084
00008CA2 41EB FF80 lea.l A0, [A3 - 0x80]
00008CA6 42A8 000C clr.l [A0 + 0xC]
00008CAA 3141 0018 move.w [A0 + 0x18], D1
00008CAE 317C 0002 001A move.w [A0 + 0x1A], 0x2
00008CB4 A005 syscall Status
00008CB6 6704 beq +0x6 /* 00008CBC */
00008CB8 3B40 F73E move.w [A5 - 0x8C2], D0
label00008CBC:
00008CBC 6606 bne +0x8 /* 00008CC4 */
00008CBE 2028 001C move.l D0, [A0 + 0x1C]
00008CC2 6002 bra +0x4 /* 00008CC6 */
label00008CC4:
00008CC4 70FF moveq.l D0, 0xFFFFFFFF
label00008CC6:
00008CC6 4E5B unlink A3
00008CC8 4E75 rts
00008CCA 2000 move.l D0, D0
00008CCC 1000 move.b D0, D0
00008CCE 3000 move.w D0, D0
00008CD0 2000 move.l D0, D0
00008CD2 017C 00BD bchg 0xBD, D0
00008CD6 005E 003E ori.w [A6]+, 0x3E /* '>' */
00008CDA 002E 001E 0016 ori.b [A6 + 0x16], 0x1E
00008CE0 000E 000A ori.b A6, 0xA /* '\n' */
00008CE4 0004 0001 ori.b D4, 0x1
00008CE8 0000 012C ori.b D0, 0x2C /* ',' */
00008CEC 0258 04B0 andi.w [A0]+, 0x4B0
00008CF0 0708 btst A0, D3
00008CF2 0960 bchg -[A0], D4
00008CF4 0E10 12C0 .invalid.b [A0], 0xC0 // invalid immediate operation
00008CF8 1C20 move.b D6, -[A0]
00008CFA 2580 4B00 move.l [A2 + <<invalid base displacement size>> + D4 * 2], D0
00008CFE 9600 sub.b D3, D0
00008D00 E100 asl D0.b, 8
00008D02 FFFF .extension 0xFFF // unimplemented
00008D04 0400 0C00 subi.b D0, 0x0
00008D08 0000 0800 ori.b D0, 0x0
00008D0C 7FFF moveq.l D7, 0xFFFFFFFF
00008D0E 1F3F move.b -[A7], <<invalid special address>>
00008D10 4000 negx.b D0
00008D12 C000 and.b D0, D0
00008D14 8000 or.b D0, D0
00008D16 042E 4149 6E05 subi.b [A6 + 0x6E05], 0x49 /* 'I' */
00008D1C 2E41 movea.l A7, D1
00008D1E 4F75 7404 chk.w D7, [A5 + D7.w * 4 + 0x4]
00008D22 2E42 movea.l A7, D2
00008D24 496E 052E chk.w D4, [A6 + 0x52E]
00008D28 424F clr.w A7
00008D2A 7574 moveq.l D2, 0x74